Adamgoose\Routing\Annotations\Annotations\Route::modify PHP Method

modify() public method

public modify ( MethodEndpoint $endpoint, ReflectionMethod $method )
$endpoint Adamgoose\Routing\Annotations\MethodEndpoint
$method ReflectionMethod
    public function modify(MethodEndpoint $endpoint, ReflectionMethod $method)
    {
        $endpoint->addPath(new Path(strtolower(class_basename(get_class($this))), $this->domain, $this->value, $this->as, (array) $this->middleware, (array) $this->where));
    }
Route