Symfony\Component\EventDispatcher\GenericEvent::getArgument
Get argument by key.
Signature
public function getArgument(string
$key )
Parameters
$key
— string- Key.
Returns
- mixed
- Contents of array key.
Errors/Exceptions
-
InvalidArgumentException
- If key is not found.