__construct() 공개 메소드

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);
 }
예제 #2
0
 public function __construct($options)
 {
     parent::__construct($options);
 }
예제 #3
0
 public function __construct(Logger $logger, array $options)
 {
     $this->logger = $logger;
     $this->cache = new ZendDataCache();
     parent::__construct($options);
 }