You are here

public function CustomArrayObject::offsetGet in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/CustomArrayObject.php, line 32

Class

CustomArrayObject
This class is a hand written simplified version of PHP native `ArrayObject` class, to show that it behaves differently than the PHP native implementation.

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

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