src/MessageBag.php
public function offsetGet($offset)
    {
        if (!isset($this->container[$offset])) {
            $this->container[$offset] = new self();
        }

        return $this->container[$offset];
    }
public function offsetGet($offset)
    {
        if (!isset($this->container[$offset])) {
            $this->container[$offset] = new self();
        }

        return $this->container[$offset];
    }
public function offsetGet ( $ offset ) { if ( ! isset ( $ this -> container [ $ offset ] ) ) { $ this -> container [ $ offset ] = new self ( ) ; } return $ this -> container [ $ offset ] ; }
Get value from array.

@param string|int $offset

@return mixed
Get value from array .