private function getResourceOnly()
    {
        $name = $this->getArgumentResource();
        if (!str_contains($name, '.')) {
            return $name;
        }

        return substr($name, strripos($name, '.') + 1);
    }
private function getResourceOnly()
    {
        $name = $this->getArgumentResource();
        if (!str_contains($name, '.')) {
            return $name;
        }

        return substr($name, strripos($name, '.') + 1);
    }
private function getResourceOnly ( ) { $ name = $ this -> getArgumentResource ( ) ; if ( ! str_contains ( $ name , '.' ) ) { return $ name ; } return substr ( $ name , strripos ( $ name , '.' ) + 1 ) ; }
If there are '.' in the name, get the last occurence

@return string
If there are . in the name get the last occurence