Пример #1
0
 public function __construct()
 {
     parent::__construct("User with this email already registered", 400);
 }
 public function __construct()
 {
     parent::__construct("Incorrect email or password", 403);
 }
Пример #3
0
 /**
  * Check Backend Requirements
  *
  * @throws Next\Cache\Backend\BackendException
  *   APC Extension is not loaded
  */
 protected function checkRequirements()
 {
     if (!extension_loaded('apc')) {
         throw BackendException::unfullfilledRequirements('APC Extension must be loaded before using its Backend!');
     }
 }
Пример #4
0
 public function __construct($message = "", $http_response_code = 400)
 {
     parent::__construct($message, $http_response_code);
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct("User not found", 404);
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct("Track not found", 404);
 }