public function __construct($id = 0) { parent::__construct(); if ($id) { if (!$this->charger_id($id)) { throw new TheliaAdminException("Profile not found", TheliaAdminException::PROFIL_NOT_FOUND); } } }