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