phpDocumentor

Router
in package

Table of Contents

Properties

$fqsenUrlGenerator  : ClassBasedFqsenUrlGenerator
$slugger  : SluggerInterface
$urlGenerator  : UrlGeneratorInterface

Methods

__construct()  : mixed
generate()  : string
generateUrlForDescriptor()  : string
removeFileExtensionFromPath()  : string
Removes the file extension from the provided path.
slugifyNameBasedOnType()  : string

Properties

$slugger read-only

private SluggerInterface $slugger

$urlGenerator read-only

private UrlGeneratorInterface $urlGenerator

Methods

__construct()

public __construct() : mixed

generateUrlForDescriptor()

private generateUrlForDescriptor(string $type, string $fqsen[, string $fragment = '' ]) : string
Parameters
$type : string
$fqsen : string
$fragment : string = ''
Return values
string

removeFileExtensionFromPath()

Removes the file extension from the provided path.

private removeFileExtensionFromPath(string $path) : string
Parameters
$path : string
Return values
string

slugifyNameBasedOnType()

private slugifyNameBasedOnType(string $type, string $name) : string
Parameters
$type : string
$name : string
Return values
string

        
On this page

Search results