public __construct ( array $config = [] ) | ||
$config | array | The instance configuration. Possible values: - `'wrapper'` _string_: the the wrapper class name to use. |
public function __construct($config = [])
{
$defaults = ['wrapper' => 'Kahlan\\Box\\Wrapper'];
$config += $defaults;
$this->_classes['wrapper'] = $defaults['wrapper'];
}