example/Provider/AppContentProvider.php
public function isValidInput ($table, $column, $value) {
        $table_object = $this->ContentContract->tables[$table];
        $column_type_validator = $table_object::SCHEMA[$column];

        return $this->ContentContract->validators[$column_type_validator]($value);
    }
public function isValidInput ($table, $column, $value) {
        $table_object = $this->ContentContract->tables[$table];
        $column_type_validator = $table_object::SCHEMA[$column];

        return $this->ContentContract->validators[$column_type_validator]($value);
    }
public function isValidInput ( $ table , $ column , $ value ) { $ table_object = $ this -> ContentContract -> tables [ $ table ] ; $ column_type_validator = $ table_object :: SCHEMA [ $ column ] ; return $ this -> ContentContract -> validators [ $ column_type_validator ] ( $ value ) ; }
Check value against given filter

Checks the type of the supplied value against the validate method supplied in the content contract for the table

@param  string  $table  table name, used to fetch the content contract
@param  [type]  $column [description]
@param  [type]  $value  [description]
@return boolean true if input is valid for the given column
Check value against given filter