摘要: 例子: <?php interface Middleware{ public static function handle (Closure $next);} class VerifyCsrfToken implements Middleware{ public static function ha 阅读全文
posted @ 2017-07-05 13:18 叨叨斋 阅读(431) 评论(0) 推荐(0) 编辑
摘要: interface Decorator{ public function display(); } class XiaoFang implements Decorator { private $name; public function __construct($name){ $this->name 阅读全文
posted @ 2017-07-05 13:16 叨叨斋 阅读(239) 评论(0) 推荐(0) 编辑