\phpDocumentor\Transformer\Router\UrlGenerator\StandardQualifiedNameToUrlConverter

Service class used to convert Qualified names into URL paths for the Standard Router.

Summary

Methods
Properties
Constants
fromPackage()
fromNamespace()
fromClass()
fromFile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
removeFileExtensionFromPath()
No private properties found
N/A

Methods

fromPackage()

fromPackage(string  $fqcn) : string

Converts the provided FQCN into a file name by replacing all slashes and underscores with dots.

Parameters

string $fqcn

Returns

string

fromNamespace()

fromNamespace(string  $fqnn) : string

Converts the provided FQCN into a file name by replacing all slashes with dots.

Parameters

string $fqnn

Returns

string

fromClass()

fromClass(string  $fqcn) : string

Converts the provided FQCN into a file name by replacing all slashes with dots.

Parameters

string $fqcn

Returns

string

fromFile()

fromFile(string  $path) : string

Converts the given path to a valid url.

Parameters

string $path

Returns

string

removeFileExtensionFromPath()

removeFileExtensionFromPath(string  $path) : string

Removes the file extension from the provided path.

Parameters

string $path

Returns

string