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