示例#1
0
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, "%c1<%1&2%::>%s2<%1&2%()> must return %s3<%!5%, '%t4' given>%s5.");
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, "Param %c1::\$%s2 must be %s3; '%v4' given.");
     parent::__construct($message, $code, $previous);
 }
示例#3
0
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, "%c1: can't persist %c2::\$%s3; it contains '%t4'.");
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, "%e1 was removed. Clone entity before reattach to repository.");
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, "%e1 is already attached to another RepositoryContainer.");
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, '%c1::toArray() no mode for entity; use Orm\\EntityToArray::<%2%ENTITY_AS_IS, ENTITY_AS_ID or ENTITY_AS_ARRAY><%3%RELATIONSHIP_AS_IS, RELATIONSHIP_AS_ARRAY_OF_ID or RELATIONSHIP_AS_ARRAY_OF_ARRAY>.');
     parent::__construct($message, $code, $previous);
 }
示例#7
0
 /**
  * @param string|array
  * @param int
  * @param Exception
  */
 public function __construct($message = NULL, $code = NULL, Exception $previous = NULL)
 {
     $message = ExceptionHelper::format($message, '%c1<%1&2%::>%s2 is deprecated<%3|4%; use %c3<%3&4%::>%s4 instead>.');
     parent::__construct($message, $code, $previous);
 }