FactoryInterface
in
Describes Factory interface.
Table of Contents
Methods
- run() : void
- Run application.
- withBaseApp() : static
- Return an instance with provided base application path.
- withBaseResource() : static
- Return an instance with provided base resource path.
- withBaseView() : static
- Return an instance with provided base view path.
- withEnvironment() : static
- Return an instance with provided environment filename.
- withSplAutoload() : static
- Return an instance with provided SPL Autoload.
Methods
run()
Run application.
public
run() : void
Tags
withBaseApp()
Return an instance with provided base application path.
public
withBaseApp(string $path) : static
Parameters
- $path : string
-
The application path.
Tags
Return values
staticwithBaseResource()
Return an instance with provided base resource path.
public
withBaseResource(string $path) : static
Parameters
- $path : string
-
The base path.
Tags
Return values
staticwithBaseView()
Return an instance with provided base view path.
public
withBaseView(string $path) : static
Parameters
- $path : string
-
The base path.
Tags
Return values
staticwithEnvironment()
Return an instance with provided environment filename.
public
withEnvironment(string $filename) : static
Parameters
- $filename : string
-
The environment filename.
Tags
Return values
staticwithSplAutoload()
Return an instance with provided SPL Autoload.
public
withSplAutoload(string $namespace, string $path) : static
Parameters
- $namespace : string
-
The namespace.
- $path : string
-
The path.