/** * Creates a Repository with OR filter * @returns the TRepository object with an OR filter */ public static function orWhere($variable, $operator, $value) { $class = get_called_class(); // get the Active Record class name $repository = new TRepository($class); // create the repository return $repository->orWhere($variable, $operator, $value); }