Esempio n. 1
0
 /**
  * Generates DirectCollection containing all remote able methods
  *
  * @return Annotations\Collections\DirectCollection
  */
 protected function generateActions()
 {
     $parser = new Parser();
     $parser->setPath($this->getApplicationPath());
     $parser->setNameSpace($this->getApplicationNameSpace());
     $list = $parser->run();
     return $list;
 }
Esempio n. 2
0
 public function testrun()
 {
     $expected = array('ExtDirectDemoApp\\FirstDemoController', 'ExtDirectDemoApp\\SecondDemoController');
     $getClassList = self::getMethod('getClassList');
     $parser = new Parser();
     $parser->setPath("tests/Fixtures/ExtDirectDemoApp");
     $parser->setNameSpace("ExtDirectDemoApp");
     $parser->run();
     // $this->assertEquals($expected, $result);
 }