Adamgoose\Routing\Annotations\ResourceEndpoint::getNames PHP Method

getNames() protected method

Get the names for the given path.
protected getNames ( ResourcePath $path ) : array
$path ResourcePath
return array
    protected function getNames(ResourcePath $path)
    {
        return isset($this->names[$path->method]) ? [$path->method => $this->names[$path->method]] : [];
    }