public function __construct($authentication) { $this->ref = Helper::array_find($authentication, 'ref'); }