lithium\aop\Chain::__construct()
Constructor.
Parameters
-
array
$config
Class configuration parameters The available options are:
'filters'
array'class'
array: Deprecated. Here for BC.'method'
array: Depreacted. Here for BC.
Returns
voidSource
public function __construct(array $config = []) {
$config += [
'filters' => [],
'class' => null,
'method' => null
];
$this->_filters = $config['filters'];
$this->_class = $config['class'];
$this->_method = $config['method'];
$this->_bcFilters();
}