PHP Class Neos\Neos\Aspects\PluginUriAspect

Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$pluginService Neos\Neos\Service\PluginService The pluginService

Public Methods

Method Description
generateUriForNode ( ActionRequest $request, Neos\Flow\Aop\JoinPointInterface $joinPoint, Neos\ContentRepository\Domain\Model\NodeInterface $node ) : string This method generates the Uri through the joinPoint with temporary overriding the used node
getControllerObjectName ( object $request, array $arguments ) : string Merge the default plugin arguments of the Plugin with the arguments in the request and generate a controllerObjectName
rewritePluginViewUris ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : string

Method Details

generateUriForNode() public method

This method generates the Uri through the joinPoint with temporary overriding the used node
public generateUriForNode ( ActionRequest $request, Neos\Flow\Aop\JoinPointInterface $joinPoint, Neos\ContentRepository\Domain\Model\NodeInterface $node ) : string
$request Neos\Flow\Mvc\ActionRequest
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
$node Neos\ContentRepository\Domain\Model\NodeInterface
return string $uri

getControllerObjectName() public method

Merge the default plugin arguments of the Plugin with the arguments in the request and generate a controllerObjectName
public getControllerObjectName ( object $request, array $arguments ) : string
$request object
$arguments array
return string $controllerObjectName

rewritePluginViewUris() public method

public rewritePluginViewUris ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : string
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
return string The result of the target method if it has not been intercepted

Property Details

$objectManager protected property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$pluginService protected property

The pluginService
protected PluginService,Neos\Neos\Service $pluginService
return Neos\Neos\Service\PluginService