ZF\Console\Route::getRoute PHP Method

getRoute() public method

public getRoute ( ) : string
return string
    public function getRoute()
    {
        return $this->route;
    }

Usage Example

Example #1
0
 public function testConstructorExpectsNameAndRoute()
 {
     $route = new Route('foo', 'foo bar');
     $this->assertEquals('foo', $route->getName());
     $this->assertEquals('foo bar', $route->getRoute());
 }
All Usage Examples Of ZF\Console\Route::getRoute