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

Get all params
public getParams ( ) : array
Результат array
Пример #1
0
 /**
  * Test reflection:
  *  - get params without description
  */
 public function testReflectionWithoutData()
 {
     $controllerFile = dirname(__FILE__) . '/../Fixtures/Controllers/ConcreteWithoutData.php';
     $reflection = new Reflection($controllerFile);
     $reflection->process();
     $this->assertEqualsArray(['a' => null, 'b' => null, 'c' => null], $reflection->getParams());
 }