public function AttributeArray::offsetGet

Implements ArrayAccess::offsetGet().

File

drupal/core/lib/Drupal/Core/Template/AttributeArray.php, line 35
Definition of Drupal\Core\Template\AttributeArray.

Class

AttributeArray
A class that defines a type of Attribute that can be added to as an array.

Namespace

Drupal\Core\Template

Code

public function offsetGet($offset) {
  return $this->value[$offset];
}