Adamgoose\Routing\Annotations\Annotations\Controller::prefixEndpoints PHP 메소드

prefixEndpoints() 보호된 메소드

Set the prefixes on the endpoints.
protected prefixEndpoints ( EndpointCollection $endpoints ) : void
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
리턴 void
    protected function prefixEndpoints(EndpointCollection $endpoints)
    {
        foreach ($endpoints->getAllPaths() as $path) {
            $path->path = $this->trimPath($this->prefix, $path->path);
        }
    }