| 1 | <?php |
||
| 6 | class StringField extends BaseField |
||
| 7 | { |
||
| 8 | public function inferProperties($val, $lenient=false) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param mixed $val |
||
| 20 | * @return string |
||
| 21 | * @throws \frictionlessdata\tableschema\Exceptions\FieldValidationException; |
||
| 22 | */ |
||
| 23 | public function validateCastValue($val) |
||
| 32 | |||
| 33 | public static function type() |
||
| 37 | |||
| 38 | public function getInferIdentifier($lenient=false) |
||
| 47 | |||
| 48 | protected function checkMinimumConstraint($val, $minConstraint) |
||
| 52 | |||
| 53 | protected function checkMaximumConstraint($val, $maxConstraint) |
||
| 57 | } |