Redaxscript\Router\Resolver::getFull PHP Метод

getFull() публичный Метод

get the full route
С версии: 2.4.0
public getFull ( ) : string
Результат string
    public function getFull()
    {
        return $this->_getRoute('full');
    }

Usage Example

Пример #1
0
 /**
  * testGetFull
  *
  * @since 3.0.0
  *
  * @param string $route
  * @param array $expectArray
  *
  * @dataProvider providerResolver
  */
 public function testGetFull($route = null, $expectArray = [])
 {
     /* setup */
     $this->_request->setQuery('p', $route);
     $resolver = new Router\Resolver($this->_request);
     $resolver->init();
     /* actual */
     $actual = $resolver->getFull();
     /* compare */
     $this->assertEquals($expectArray['full'], $actual);
 }