lithium\aop\Chain::__construct()

public method

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

void

Source

	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();
	}