lithium\template\view\adapter\File::__construct PHP Method

__construct() public method

Constructor.
public __construct ( array $config = [] ) : void
$config array Configuration options.
return void
    public function __construct(array $config = array())
    {
        $defaults = array('classes' => array(), 'compile' => true, 'compiler' => array(), 'extract' => true, 'paths' => array());
        parent::__construct($config + $defaults);
    }

Usage Example

Example #1
0
 public function __construct(array $config = array())
 {
     $defaults = array('classes' => array(), 'compile' => true, 'extract' => true, 'paths' => array());
     parent::__construct($config + $defaults);
     // Start the hierarchy lexer
     Lexer::_init(array('hierarchy' => $this));
 }
All Usage Examples Of lithium\template\view\adapter\File::__construct