bztang-admin/app/common/events/WithdrawEvent.php

33 lines
444 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Created by PhpStorm.
*
* User: king/QQ995265288
* Date: 2018/6/5 下午3:33
* Email: livsyitian@163.com
*/
namespace app\common\events;
use app\common\models\Withdraw;
class WithdrawEvent extends Event
{
private $withdraw;
public function __construct(Withdraw $withdraw)
{
$this->withdraw = $withdraw;
}
public function getWithdrawModel()
{
return $this->withdraw;
}
}