public function get($id)
    {
        if (false === $this->has($id)) {
            throw new \RuntimeException(sprintf('Item with id: "%s" not found.', $id));
        }

        return $this->items[$id];
    }
public function get($id)
    {
        if (false === $this->has($id)) {
            throw new \RuntimeException(sprintf('Item with id: "%s" not found.', $id));
        }

        return $this->items[$id];
    }
public function get ( $ id ) { if ( false === $ this -> has ( $ id ) ) { throw new \ RuntimeException ( sprintf ( 'Item with id: "%s" not found.' , $ id ) ) ; } return $ this -> items [ $ id ] ; }
Gets an item.

@param string $id The identifier of the item

@return Yosymfony\Spress\Core\DataSource\ItemInterface

@throws \RuntimeException If the item was not found
Gets an item .