[李景山php]每天laravel-20160904|Dispatcher-4
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[李景山php]每天laravel-20160904|Dispatcher-4相关的知识,希望对你有一定的参考价值。
/** * Resolve the subscriber instance. * * @param object|string $subscriber * @return mixed */ protected function resolveSubscriber($subscriber) { if (is_string($subscriber)) {// check string return $this->container->make($subscriber);// make it } return $subscriber;// then subscriber return } /** * Fire an event until the first non-null response is returned. * * @param string|object $event * @param array $payload * @return mixed */ public function until($event, $payload = []) { return $this->fire($event, $payload, true);// fire start by event and payload } /** * Flush a set of pushed events. * * @param string $event * @return void */ public function flush($event) { $this->fire($event.‘_pushed‘);// fire a string like we want $event_pushed }// flush a set of pushed events // flush a way /** * Get the event that is currently firing. * * @return string */ public function firing() { return last($this->firing); }// use last function
本文出自 “专注php” 博客,请务必保留此出处http://jingshanls.blog.51cto.com/3357095/1791231
以上是关于[李景山php]每天laravel-20160904|Dispatcher-4的主要内容,如果未能解决你的问题,请参考以下文章
[李景山php]每天laravel-20161028|Translator.php
[李景山php]每天laravel-20161107|PhpEngine.php
[李景山php]每天laravel-20161106|EngineResolver.php
[李景山php]每天laravel-20161108|ShareErrorsFromSession.php