Adamgoose\Routing\Annotations\ResourceEndpoint::getIncludedMethods PHP Méthode

getIncludedMethods() protected méthode

Get the methods to be included in the resource.
protected getIncludedMethods ( ) : array
Résultat array
    protected function getIncludedMethods()
    {
        if ($this->only) {
            return $this->only;
        } elseif ($this->except) {
            return array_diff($this->methods, $this->except);
        }
        return $this->methods;
    }