SanitizeHelper
Table of Contents
Properties
-
$sanitations
: mixed
-
$validations
: mixed
Methods
-
__construct()
: mixed
-
sanitizeByField()
: string
-
sanitizeByRule()
: string
-
schemaTypeChecker()
: bool
-
transformByFormula()
: string
-
validateByField()
: bool
-
validateByRule()
: bool
$sanitations
private
mixed
$sanitations
$validations
private
mixed
$validations
__construct()
public
__construct(Entity $entity) : mixed
Parameters
-
$entity
: Entity
-
sanitizeByField()
public
sanitizeByField(mixed $field, mixed $value) : string
Parameters
-
$field
: mixed
-
-
$value
: mixed
-
sanitizeByRule()
public
static sanitizeByRule(mixed $rule, mixed $value) : string
Parameters
-
$rule
: mixed
-
-
$value
: mixed
-
schemaTypeChecker()
public
schemaTypeChecker(mixed $type, mixed $value) : bool
Parameters
-
$type
: mixed
-
-
$value
: mixed
-
public
static transformByFormula(mixed $formula, mixed $value) : string
Parameters
-
$formula
: mixed
-
-
$value
: mixed
-
validateByField()
public
validateByField(mixed $field, mixed $value) : bool
Parameters
-
$field
: mixed
-
-
$value
: mixed
-
validateByRule()
public
static validateByRule(mixed $rule, mixed $value) : bool
Parameters
-
$rule
: mixed
-
-
$value
: mixed
-