HamlPHP::__construct PHP Method

__construct() public method

public __construct ( IStorage $storage = null )
$storage IStorage
    public function __construct(IStorage $storage = null)
    {
        $this->_compiler = $this->getCompiler();
        if (empty($storage)) {
            $this->_cacheEnabled = false;
        } else {
            $this->_storage = $storage;
        }
    }