Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends PHPUnit_Framework_TestCase
Ejemplo n.º 1
0
 public function __construct($name = null, array $data = [], $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     self::$rootCacheDirectory = __DIR__ . DIRECTORY_SEPARATOR . 'CacheFiles' . DIRECTORY_SEPARATOR;
     if (!is_dir(self::$rootCacheDirectory)) {
         mkdir(self::$rootCacheDirectory, 511, true);
     }
 }
Ejemplo n.º 2
0
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->queryable = isset($data[0]) ? $data[0] : null;
     $this->repository = $this->queryable instanceof IRepository ? $this->queryable : null;
 }
Ejemplo n.º 3
0
 public function __construct($name = null, array $data = [], $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->implementations = $this->implementations();
     $this->currentImplementation = isset($data[0]) ? $data[0] : null;
 }