. */ /** * Maarch IVS - Validation Parameter * * @package MaarchIVS * @author Cyril Vazquez (Maarch) */ class ValidationParameter { /** * Name of the parameter * @var string */ public $name; /** * Fixed value * @var mixed */ public $fixed; /** * Type of the parameter * @var string */ public $type; /** * Restrictions on the type * @var ValidationTypeRestriction */ public $restriction; /** * Constructor * @param string $name The name of the parameter * @param string $type The type of data * @param string $fixed A fixed value for the parameter * * @return void */ public function __construct($name, $type, $fixed=null) { $this->name = $name; $this->type = $type; $this->fixed = $fixed; } }