TextCollection

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

Class TitleCollection

package

Gambio\ProductImageList\Image\Collections

Methods

TitleCollection constructor.

__construct(array<mixed,\Gambio\ProductImageList\Image\ValueObjects\AbstractText> $values = array()) 

addText

addText(\Gambio\ProductImageList\Image\ValueObjects\AbstractText $title) 

count

count() 
inheritDoc

current

current() 
inheritDoc

getTextByLanguageCode

getTextByLanguageCode(\Gambio\ProductImageList\Image\ValueObjects\LanguageCode $languageCode) : \Gambio\ProductImageList\Image\ValueObjects\AbstractText
Throws
\Gambio\ProductImageList\Image\Exceptions\TextNotFoundException

Arguments

Response

\Gambio\ProductImageList\Image\ValueObjects\AbstractText

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\Image\ValueObjects\AbstractText>

position

position : integer
var

Type(s)

integer