Laravel Call to a member function paginate() on array