QualifiedNameToUrlConverter

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

package

Default

Methods

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

fromClass(string $fqcn) : string

Arguments

$fqcn

string

Response

string

Converts the given path to a valid url.

fromFile(string $path) : string

Arguments

$path

string

Response

string

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

fromNamespace(string $fqnn) : string

Arguments

$fqnn

string

Response

string

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

fromPackage(string $fqcn) : string

Arguments

$fqcn

string

Response

string

Removes the file extension from the provided path.

removeFileExtensionFromPath(string $path) : string

Arguments

$path

string

Response

string