ContextDataCollection.php
public function get($name)
    {
        if (!isset($this->items[$name])
            && !array_key_exists($name, $this->items)
            && !$this->applyDefaultValue($name)
        ) {
            throw new \OutOfBoundsException(sprintf('Undefined data item index: %s.', $name));
        };

        return $this->items[$name];
    }
public function get($name)
    {
        if (!isset($this->items[$name])
            && !array_key_exists($name, $this->items)
            && !$this->applyDefaultValue($name)
        ) {
            throw new \OutOfBoundsException(sprintf('Undefined data item index: %s.', $name));
        };

        return $this->items[$name];
    }
public function get ( $ name ) { if ( ! isset ( $ this -> items [ $ name ] ) && ! array_key_exists ( $ name , $ this -> items ) && ! $ this -> applyDefaultValue ( $ name ) ) { throw new \ OutOfBoundsException ( sprintf ( 'Undefined data item index: %s.' , $ name ) ) ; } ; return $ this -> items [ $ name ] ; }
Gets a value stored in the context data variable.

@param string $name The data item name

@return mixed

@throws \OutOfBoundsException if the data item does not exist
Gets a value stored in the context data variable .