/** * Constructor * * @param string $constraint * @param string $method * @param string $field_name * @param mixed $field_value * @param array $options * * @api * @since 1.0.0 */ public function __construct($constraint, $method, $field_name, $field_value, array $options = array()) { parent::__construct($constraint, $method, $field_name, $field_value, $options); $this->processOption('database'); $this->processOption('table'); $this->processOption('key'); }
/** * Constructor * * @param string $constraint * @param string $method * @param string $field_name * @param mixed $field_value * @param array $options * * @api * @since 1.0.0 */ public function __construct($constraint, $method, $field_name, $field_value, array $options = array()) { parent::__construct($constraint, $method, $field_name, $field_value, $options); $this->processOption('white_list'); $this->processOption('html_entities'); $this->processOption('encoding'); }
/** * Constructor * * @param string $constraint * @param string $method * @param string $field_name * @param mixed $field_value * @param array $options * * @api * @since 1.0.0 */ public function __construct($constraint, $method, $field_name, $field_value, array $options = array()) { parent::__construct($constraint, $method, $field_name, $field_value, $options); $this->getCompareToArrayFromOptions(); }
/** * Format * * @return mixed * @since 1.0.0 */ public function format() { return parent::format(); }