Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 314 Bytes
<?php
//dependence
include 'Factory/MobileFactory.php';
class MobileStore
{
private $MobileFactory = Null;
public function __construct()
{
$this->MobileFactory = new MobileFactory();
}
public function Buy($brand)
{
$this->MobileFactory->Create( $brand );
}
}
?>