コード例 #1
0
 /**
  * 
  * @param int $id
  */
 public function __construct($id = 0)
 {
     parent::__construct(sprintf('Invalid Profile id "%s" provided', $id), E_USER_ERROR);
 }
コード例 #2
0
 public function __construct($data = [])
 {
     parent::__construct('Profile validation failed', E_USER_ERROR);
 }