ConstantDescriptor

Implements \phpDocumentor\Transformer\Router\UrlGenerator\UrlGeneratorInterface

package

Default

Methods

Initializes this generator.

__construct() 

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

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

Arguments

Response

string|false

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

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

Arguments

Response

string

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

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

Arguments

Response

string

Properties

converter

converter : \phpDocumentor\Transformer\Router\UrlGenerator\Standard\QualifiedNameToUrlConverter