Skip to content

Implement Collection::take($limit) #18

Description

@chadicus

Implement a take() method which would set an absolute limit in the collection. It could return itself or a clone of itself with an absolute limit

/**
 * Return a collection limited to $limit number of items
 *
 * @param integer $limit
 *
 * @return Collection
 */
public function take($limit)
{
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions