src/SleepingOwl/Admin/Models/Filters/Filter.php
protected function applyScope(Builder $query, $parameter)
	{
		if ($this->scope)
		{
			$query->{$this->scope}($parameter);
			return true;
		}
		return false;
	}
protected function applyScope(Builder $query, $parameter)
	{
		if ($this->scope)
		{
			$query->{$this->scope}($parameter);
			return true;
		}
		return false;
	}
Apply scope to $query
@param Builder $query
@param $parameter
@return bool