FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
framework/apps/controllers/Event.php at master · feter/framework · GitHub
feter
framework
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
framework
/
apps
/
controllers
/
Event.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (12 loc) · 299 Bytes
Breadcrumbs
framework
/
apps
/
controllers
/
Event.php
Copy path
File metadata and controls
14 lines (12 loc) · 299 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
namespace
App
\
Controller
;
use
Swoole
;
class
Event
extends
Swoole
\Controller
{
function
test
()
{
echo
"
event trigger
\n"
;
$
res
=
$
this
->
event
->
trigger
(
"
hello
"
,
array
(
$
this
->
redis
->
getIncreaseId
(
'
queue
'
),
"
hello world
"
,
__DIR__
));
echo
"
event trigger
\n"
;
}
}
Back
|
FazBrowse Home
|
New Git URL