/** * Adds data associated with the given object. * * @param object $object The object. * @param mixed $value The value to add. * * @return static This ObjectArrayStorage instance. */ public function add($object, $value) { $values = $this->get($object); $values[] = $value; $this->storage->set($object, $values); return $this; }