Neos\Flow\Aop\JoinPointInterface::getMethodArgument PHP Метод

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

Returns the value of the specified method argument
public getMethodArgument ( string $argumentName ) : mixed
$argumentName string Name of the argument
Результат mixed Value of the argument
    public function getMethodArgument($argumentName);

Usage Example

 /**
  * @Flow\Around("method(Neos\ContentRepository\Domain\Model\NodeType->__construct())")
  * @return void
  */
 public function enrichNodeTypeConfiguration(JoinPointInterface $joinPoint)
 {
     $configuration = $joinPoint->getMethodArgument('configuration');
     $nodeTypeName = $joinPoint->getMethodArgument('name');
     $this->addEditorDefaultsToNodeTypeConfiguration($nodeTypeName, $configuration);
     $this->addLabelsToNodeTypeConfiguration($nodeTypeName, $configuration);
     $joinPoint->setMethodArgument('configuration', $configuration);
     $joinPoint->getAdviceChain()->proceed($joinPoint);
 }
All Usage Examples Of Neos\Flow\Aop\JoinPointInterface::getMethodArgument