App\services\RESTfulService::getEndpoint PHP Метод