예제 #1
0
 /**
  * @return string
  */
 public function getAction()
 {
     if (trim($this->action) === '') {
         $action = $this->buildAction($this->routes->getAction('default'));
     } else {
         $action = $this->buildAction($this->action);
     }
     return $action;
 }
예제 #2
0
 public function testGetAction()
 {
     $this->assertSame('testAction', $this->routes->getAction('test'));
 }