protected function requiresParent(string $methodName)
    {
        if (in_array('*', $this->requiresParent)) {
            return true;
        }

        return in_array($methodName, $this->requiresParent);
    }
protected function requiresParent(string $methodName)
    {
        if (in_array('*', $this->requiresParent)) {
            return true;
        }

        return in_array($methodName, $this->requiresParent);
    }
protected function requiresParent ( string $ methodName ) { if ( in_array ( '*' , $ this -> requiresParent ) ) { return true ; } return in_array ( $ methodName , $ this -> requiresParent ) ; }
Check if the action requires a parent resource.

@param  string $methodName
@return bool
Check if the action requires a parent resource .