Adamgoose\Routing\Annotations\Annotations\Controller::modifyCollection PHP Method

modifyCollection() public method

public modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class )
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
$class ReflectionClass
    public function modifyCollection(EndpointCollection $endpoints, ReflectionClass $class)
    {
        if ($this->prefix) {
            $this->prefixEndpoints($endpoints);
        }
        if ($this->domain) {
            $this->setEndpointDomains($endpoints);
        }
    }