【文件属性】:
文件名称:paddy:基于会话的(闪存)消息传递实用程序
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-23 09:57:05
PHP
稻田
Messenger用于使用在页面请求之间传送(刷新)消息。
/**
* @param string $namespace Namespace is used if more than one application is using Messenger. Defaults to the SERVER_NAME or "default".
*/
$ messenger = new \ Gajus \ Paddy \ Messenger ();
/**
* @param string $message
* @param string $namespace Message namespace (success, error or notice).
* @return $this
*/
$ messenger -> send ( 'Loaded to the Gunwale
【文件预览】:
paddy-master
----composer.json(510B)
----.travis.yml(271B)
----phpunit.xml(640B)
----tests()
--------bootstrap.php(50B)
--------MessengerTest.php(4KB)
----LICENSE(1KB)
----src()
--------Messenger.php(5KB)
--------Exception()
----.gitignore(29B)
----README.md(4KB)