public function __construct($profile, $convert = true) { $this->_data = $profile; if (!empty($profile['profile']) && $convert) { $this->_process(); } }