public function set($key, $value) { $this->attributes->offsetSet($key, $value); return $this; }
/** @test */ public function it_sets_a_key_value() { $this->json->set('key', 'value'); $this->assertEquals('value', $this->json->get('key')); }