public function __construct($fieldName, $fieldInfo, $Value) { if (!isset($fieldInfo['hash'])) { throw new InvalidArgumentException('Security hash field not set'); } parent::__construct($fieldName, $fieldInfo, $Value); }