/** * Constructs object * @param Array|array $input */ public function __construct(array $input = []) { parent::__construct($input); if (isset($input['name'])) { $this->name = $input['name']; } }
/** * Constructs object * @param Array|array $input */ public function __construct(array $input = []) { parent::__construct($input); }