\phpDocumentor\Transformer\Router\UrlGenerator\StandardConstantDescriptor

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getUrlPathPrefixForGlobalConstants()
getUrlPathPrefixForClassConstants()
$converter
N/A

Properties

Methods

__construct()

__construct() 

Initializes this generator.

__invoke()

__invoke(string|\phpDocumentor\Descriptor\ConstantDescriptor  $node) : string|false

Generates a URL from the given node or returns false if unable.

Parameters

string|\phpDocumentor\Descriptor\ConstantDescriptor $node

Returns

string|false

getUrlPathPrefixForGlobalConstants()

getUrlPathPrefixForGlobalConstants(\phpDocumentor\Descriptor\ConstantDescriptor  $node) : string

Returns the first part of the URL path that is specific to global constants.

Parameters

\phpDocumentor\Descriptor\ConstantDescriptor $node

Returns

string

getUrlPathPrefixForClassConstants()

getUrlPathPrefixForClassConstants(\phpDocumentor\Descriptor\ConstantDescriptor  $node) : string

Returns the first part of the URL path that is specific to class constants.

Parameters

\phpDocumentor\Descriptor\ConstantDescriptor $node

Returns

string