Robbo\Presenter\Presenter::offsetSet PHP 메소드

offsetSet() 공개 메소드

Set variable or key value using array access.
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed
$value mixed
리턴 void
    public function offsetSet($offset, $value)
    {
        if (is_array($this->object)) {
            $this->object[$offset] = $value;
            return;
        }
        $this->object->{$offset} = $value;
    }