ImageListsCollection

Implements \ArrayAccess, \Countable, \Iterator, \JsonSerializable

Class ImageListsCollection

package

Gambio\ProductImageList\Collections

Methods

ImageListsCollection constructor.

__construct(array $values = array()) 

Arguments

$values

array

addImageList

addImageList(\Gambio\ProductImageList\ImageList\Collections\ImageList $imageList) 

Arguments

$imageList

\Gambio\ProductImageList\ImageList\Collections\ImageList

count

count() 
inheritDoc

current

current() 
inheritDoc

getImageListById

getImageListById(\Gambio\ProductImageList\ImageList\ValueObjects\ListId $id) : \Gambio\ProductImageList\ImageList\Collections\ImageList
Throws
\Gambio\ProductImageList\Exceptions\ImageListDoesNotExistsException

Arguments

Response

\Gambio\ProductImageList\ImageList\Collections\ImageList

jsonSerialize

jsonSerialize() 
inheritDoc

key

key() 
inheritDoc

next

next() 
inheritDoc

offsetExists

offsetExists( $offset) 
inheritDoc

Arguments

$offset

offsetGet

offsetGet( $offset) 
inheritDoc

Arguments

$offset

offsetSet

offsetSet( $offset,  $value) 
inheritDoc

Arguments

$offset

$value

offsetUnset

offsetUnset( $offset) 
inheritDoc

Arguments

$offset

rewind

rewind() 
inheritDoc

valid

valid() 
inheritDoc

Properties

values

values : array<mixed,\Gambio\ProductImageList\ImageList\Collections\ImageList>
var

Type(s)

array<mixed,\Gambio\ProductImageList\ImageList\Collections\ImageList>

position

position : integer
var

Type(s)

integer