Documentation

Limit
in package

FinalYes

Table of Contents

Properties

$length  : int
$offset  : int

Methods

__construct()  : mixed
new()  : self
DEPRECATION WARNING! This method will be removed in the next major point release.
slice()  : LimitIterator
Allows iteration over a limited subset of items in an iterable structure.

Properties

$length read-only

public int $length

$offset read-only

public int $offset

Methods

__construct()

public __construct(int $offset, int $length) : mixed
Parameters
$offset : int
$length : int

new()

DEPRECATION WARNING! This method will be removed in the next major point release.

public static new(int $offset, int $length) : self

Since version 9.25.0

use League\Csv\JsonConverter::__construct() instead

Parameters
$offset : int
$length : int
Tags
see
Limit::__construct()
codeCoverageIgnore
Return values
self

slice()

Allows iteration over a limited subset of items in an iterable structure.

public slice(iterable<string|int, mixed> $value) : LimitIterator
Parameters
$value : iterable<string|int, mixed>
Return values
LimitIterator

        
On this page

Search results