/** * Creates a new Sqon. */ protected function setUp() { $this->eventDispatcher = new EventDispatcher(); $this->file = $this->createTemporaryFile(); unlink($this->file); $this->sqon = Sqon::create($this->file); $this->sqon->setEventDispatcher($this->eventDispatcher); }
/** * Creates a new Sqon. */ protected function setUp() { $this->path = tempnam(sys_get_temp_dir(), 'sqon-'); $this->sqon = Sqon::create($this->path); }