FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gotask/src/SocketIPCFactory.php at master · hyperf/gotask · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
hyperf
/
gotask
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
29
Star
257
Code
Issues
15
Pull requests
3
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
gotask
/
src
/
SocketIPCFactory.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (26 loc) · 706 Bytes
Breadcrumbs
gotask
/
src
/
SocketIPCFactory.php
Copy path
File metadata and controls
32 lines (26 loc) · 706 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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
declare
(strict_types=
1
);
/**
* This file is part of Hyperf/GoTask.
*
* @link https://www.github.com/hyperf/gotask
* @document https://www.github.com/hyperf/gotask
* @contact guxi99@gmail.com
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace
Hyperf
\
GoTask
;
use
Hyperf
\
GoTask
\
Config
\
DomainConfig
;
use
Hyperf
\
GoTask
\
IPC
\
SocketIPCSender
;
use
function
Hyperf
\
Support
\
make
;
class
SocketIPCFactory
{
public
function
__construct
(
private
DomainConfig
$
config
) {
}
public
function
make
():
SocketIPCSender
{
$
address
=
$
this
->
config
->
getAddress
();
return
make
(SocketIPCSender::class, [
'
address
'
=>
$
address
]);
}
}
Back
|
FazBrowse Home
|
New Git URL