__construct() public method

public __construct ( $options )
 public function __construct($options)
 {
     $this->cachedir = isset($options['cachedir']) ? dirname($options['cachedir'] . '/.cache') . '/' : 'cache/';
     $this->logfile = isset($options['logfile']) ? $options['logfile'] : '';
     if ($this->cachedir) {
         $this->checkDir($this->cachedir);
     }
     parent::__construct($options);
 }
Exemplo n.º 2
0
 public function __construct($options)
 {
     parent::__construct($options);
 }
Exemplo n.º 3
0
 public function __construct(Logger $logger, array $options)
 {
     $this->logger = $logger;
     $this->cache = new ZendDataCache();
     parent::__construct($options);
 }