static public function paginate($page, $per_page)
    {
        $query = self::createRelation();
        return $query->paginate($page, $per_page);
    }
static public function paginate($page, $per_page)
    {
        $query = self::createRelation();
        return $query->paginate($page, $per_page);
    }
static public function paginate ( $ page , $ per_page ) { $ query = self :: createRelation ( ) ; return $ query -> paginate ( $ page , $ per_page ) ; }
For directly pagination without conditions.
For directly pagination without conditions .