DefaultRuntime
class DefaultRuntime implements RuntimeInterface, ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Constants
STATUS_INACTIVE |
|
STATUS_ACTIVE |
|
STATUS_ENDED |
|
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected string | $boot_class | ||
protected string | $run_class | ||
protected int | $status |
Methods
__construct(string $boot_class = 'Concrete\\Core\\Foundation\\Runtime\\Boot\\DefaultBooter', string $run_class = 'Concrete\\Core\\Foundation\\Runtime\\Run\\DefaultRunner')
DefaultRuntime constructor.
getBooter()
No description
getRunner()
No description
setRunClass(string $run_class)
No description
setBootClass(string $boot_class)
No description
mixed
boot()
Initialize the environment and prepare for running.
mixed
run()
Begin the runtime.
sendResponse(Response $response)
The method that handles properly sending a response.
Details
setApplication(Application $app)
Setter method for the application
__construct(string $boot_class = 'Concrete\\Core\\Foundation\\Runtime\\Boot\\DefaultBooter', string $run_class = 'Concrete\\Core\\Foundation\\Runtime\\Run\\DefaultRunner')
DefaultRuntime constructor.
protected BootInterface
getBooter()
No description
protected RunInterface
getRunner()
No description
setRunClass(string $run_class)
No description
setBootClass(string $boot_class)
No description
mixed
boot()
Initialize the environment and prepare for running.
mixed
run()
Begin the runtime.
protected
sendResponse(Response $response)
The method that handles properly sending a response.