offsetSet() public method

Implementation of ArrayAccess::offsetSet()
public offsetSet ( string $offset, mixed $value ) : void
$offset string Offset
$value mixed Value
return void
Ejemplo n.º 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testOffsetSet()
 {
     $this->object->offsetSet('k', 'v');
     $this->assertEquals('v', $this->object->getData('k'));
 }