src/Torann/RemoteModel/Model.php
public function getEndpoint()
    {
        if (is_null($this->endpoint)) {
            $this->endpoint = str_replace('\\', '', snake_case(str_plural(class_basename($this))));
        }

        return $this->endpoint;
    }
public function getEndpoint()
    {
        if (is_null($this->endpoint)) {
            $this->endpoint = str_replace('\\', '', snake_case(str_plural(class_basename($this))));
        }

        return $this->endpoint;
    }
public function getEndpoint ( ) { if ( is_null ( $ this -> endpoint ) ) { $ this -> endpoint = str_replace ( '\\' , '' , snake_case ( str_plural ( class_basename ( $ this ) ) ) ) ; } return $ this -> endpoint ; }
Get API endpoint.

@return string
Get API endpoint .