public function MessageArgumentsBase::getArguments in Message 7
Retrieve the arguments info.
Return value
array The arguments as and their values.
Overrides MessageArgumentInterface::getArguments
File
- includes/
MessageArgumentsBase.php, line 34
Class
- MessageArgumentsBase
- Contains \MessageArgumentsBase.
Code
public function getArguments() {
$arguments = array();
$callbacks = $this
->getNameArgument();
foreach ($callbacks as $argument => $callback) {
$arguments[$argument] = call_user_func($callback);
}
return $arguments;
}