lithium\action\Controller::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'request'
object|null: Either a request object ornull
.'response'
array: Options for constructing the response object.'render'
array: Rendering control options.'classes'
array
Returns
voidSource
public function __construct(array $config = []) {
$defaults = [
'request' => null,
'response' => [],
'render' => [],
'classes' => []
];
parent::__construct($config + $defaults);
}