public function offsetSet($offset, $command) { if ($offset) { throw new LogicException('Passing of offsets is not supported'); } $this->add($command); }