src/ModelFilter.php
public function methodIsCallable($method)
    {
        return ! $this->methodIsBlacklisted($method) &&
            method_exists($this, $method) &&
            ! method_exists(ModelFilter::class, $method);
    }
public function methodIsCallable($method)
    {
        return ! $this->methodIsBlacklisted($method) &&
            method_exists($this, $method) &&
            ! method_exists(ModelFilter::class, $method);
    }
public function methodIsCallable ( $ method ) { return ! $ this -> methodIsBlacklisted ( $ method ) && method_exists ( $ this , $ method ) && ! method_exists ( ModelFilter :: class , $ method ) ; }
Check if the method is not blacklisted and callable on the extended class.
@param $method
@return bool
Check if the method is not blacklisted and callable on the extended class .