public function setUp() { parent::setUp(); $code = <<<'END' <?php function foo_blarg() {} END; $this->dir->getChild('foo.module')->setContent($code); $this->indexer = new Functions([], 'function', [], $this->db, $this->target); $this->indexer->build(); }
public function setUp() { parent::setUp(); $code = <<<'END' <?php class Foobaz {} END; $this->dir->getChild('foo.module')->setContent($code); $this->indexer = new Classes([], 'class', [], $this->db, $this->target); $this->indexer->build(); }