src/StateMachine/Collection/Collection.php
public function get($offset)
    {
        if (!$this->has($offset)) {
            throw OutOfRangeException::offsetNotFound($offset);
        }

        return $this->collection[$offset];
    }
public function get($offset)
    {
        if (!$this->has($offset)) {
            throw OutOfRangeException::offsetNotFound($offset);
        }

        return $this->collection[$offset];
    }
public function get ( $ offset ) { if ( ! $ this -> has ( $ offset ) ) { throw OutOfRangeException :: offsetNotFound ( $ offset ) ; } return $ this -> collection [ $ offset ] ; }
Return value for given offset

@param string $offset

@return mixed
@throws OutOfRangeException
Return value for given offset