Adamgoose\Routing\Annotations\EndpointTrait::addPath PHP Method

addPath() public method

Add the given path definition to the endpoint.
public addPath ( AbstractPath $path ) : void
$path AbstractPath
return void
    public function addPath(AbstractPath $path)
    {
        $this->paths[] = $path;
    }