Adamgoose\Routing\Annotations\ResourceEndpoint::getNames PHP 메소드

getNames() 보호된 메소드

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