<?php
require_once 'Item.php';

class 
OrderItem
{
    private 
$_item;
    private 
$_amount;

    public function 
__construct(Item $item$amount)
    {
        
$this->_item   $item;
        
$this->_amount $amount;
    }

    public function 
getItem()
    {
        return 
$this->_item;
    }

    public function 
getAmount()
    {
        return 
$this->_amount;
    }
}