ArrayAccessibleResourceBundle

class ArrayAccessibleResourceBundle implements ArrayAccess, IteratorAggregate, Countable

Work-around for a bug in PHP's \ResourceBundle implementation.

More information can be found on https://bugs.php.net/bug.php?id=64356. This class can be removed once that bug is fixed.

Methods

__construct(ResourceBundle $bundleImpl)
get($offset, $fallback = null)
offsetExists($offset)
offsetGet($offset)
offsetSet($offset, $value)
offsetUnset($offset)
getIterator()
count()
getErrorCode()
getErrorMessage()

Details

__construct(ResourceBundle $bundleImpl)

Parameters

ResourceBundle $bundleImpl

get($offset, $fallback = null)

Parameters

$offset
$fallback

offsetExists($offset)

Parameters

$offset

offsetGet($offset)

Parameters

$offset

offsetSet($offset, $value)

Parameters

$offset
$value

offsetUnset($offset)

Parameters

$offset

getIterator()

count()

getErrorCode()

getErrorMessage()