src/ArrayProperty.php
public function offsetSet($offset, $value): void {
    if($this->set !== null) {
      $this->set->invoke($this->obj, $offset, $value);
      return;
    }

    throw new NoSuchPropertyException($this->name);
  }
public function offsetSet($offset, $value): void {
    if($this->set !== null) {
      $this->set->invoke($this->obj, $offset, $value);
      return;
    }

    throw new NoSuchPropertyException($this->name);
  }
public function offsetSet ( $ offset , $ value ) : void { if ( $ this -> set !== null ) { $ this -> set -> invoke ( $ this -> obj , $ offset , $ value ) ; return ; } throw new NoSuchPropertyException ( $ this -> name ) ; }
Executes the mutator for a given array property

@throws  NoSuchPropertyException  If there is no mutator for this array property

@param  mixed  $offset  The index into the array to mutate
@param  mixed  $value   The new value
Executes the mutator for a given array property