Example #1
0
 public function __construct($params = array())
 {
     $this->client = new ClientModel();
     $this->product = new ProductModel();
     $this->_params = $params;
     self::$fb = new FacebookLogin();
     self::$go = new GoogleLogin();
 }
}
interface IClient
{
}
class Client implements IUser, IClient
{
    public function go()
    {
        echo "Human go";
    }
    public function stupid()
    {
        echo "Stupid idiot";
    }
    public function Logining()
    {
        echo "CLient logining";
    }
}
$obj = new Client();
?>
</br><?php 
$obj->go();
?>
</br><?php 
$obj->stupid();
?>
</br><?php 
$obj->logining();
?>
</br>