public function __construct($profileId = null) { if ($profileId !== null) { $this->loadProfile((int) $profileId); } }