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

get the third parameter
С версии: 2.4.0
public getThird ( ) : string
Результат string
Пример #1
0
 /**
  * testGetThird
  *
  * @since 2.4.0
  *
  * @param string $route
  * @param array $expectArray
  *
  * @dataProvider providerParameter
  */
 public function testGetThird($route = null, $expectArray = [])
 {
     /* setup */
     $this->_request->setQuery('p', $route);
     $parameter = new Router\Parameter($this->_request);
     $parameter->init();
     /* actual */
     $actual = $parameter->getThird();
     /* compare */
     $this->assertEquals($expectArray['third'], $actual);
 }