Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends PHPUnit_Framework_TestCase
Example #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);
     }
 }
Example #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;
 }
Example #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;
 }