src/ModelFilter.php
public function filterInput()
    {
        foreach ($this->input as $key => $val) {
            // Call all local methods on filter
            $method = $this->getFilterMethod($key);

            if ($this->methodIsCallable($method)) {
                $this->{$method}($val);
            }
        }
    }
public function filterInput()
    {
        foreach ($this->input as $key => $val) {
            // Call all local methods on filter
            $method = $this->getFilterMethod($key);

            if ($this->methodIsCallable($method)) {
                $this->{$method}($val);
            }
        }
    }
public function filterInput ( ) { foreach ( $ this -> input as $ key => $ val ) { // Call all local methods on filter $ method = $ this -> getFilterMethod ( $ key ) ; if ( $ this -> methodIsCallable ( $ method ) ) { $ this -> { $ method } ( $ val ) ; } } }
Filter with input array.
Filter with input array .