public getConstructorArgs ( ) : array | ||
리턴 | array | Contructor args |
public function getConstructorArgs()
{
return $this->constructorArgs;
}
/** * Test that constructor args were pulled properly */ public function testInitConstructorArgs() { $expectedConstructorArgs = array(); foreach ($this->getConstructorArgs() as $param) { $expectedConstructorArgs[$param->getName()] = $param; } $this->assertEquals($expectedConstructorArgs, $this->resolver->getConstructorArgs()); }