PHP Class Adamgoose\Routing\Annotations\Annotations\Controller

Inheritance: extends Annotation
Afficher le fichier Open project: adamgoose/laravel-annotations

Méthodes publiques

Méthode Description
modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class )

Méthodes protégées

Méthode Description
prefixEndpoints ( EndpointCollection $endpoints ) : void Set the prefixes on the endpoints.
setEndpointDomains ( EndpointCollection $endpoints ) : void Set the domain on the endpoints.
trimPath ( string $prefix, string $path ) : string Trim the path slashes for a given prefix and path.

Method Details

modifyCollection() public méthode

public modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class )
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
$class ReflectionClass

prefixEndpoints() protected méthode

Set the prefixes on the endpoints.
protected prefixEndpoints ( EndpointCollection $endpoints ) : void
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
Résultat void

setEndpointDomains() protected méthode

Set the domain on the endpoints.
protected setEndpointDomains ( EndpointCollection $endpoints ) : void
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
Résultat void

trimPath() protected méthode

Trim the path slashes for a given prefix and path.
protected trimPath ( string $prefix, string $path ) : string
$prefix string
$path string
Résultat string