FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
queue/src/Queue/Queue.php at main · utopia-php/queue · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
utopia-php
/
queue
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
13
Code
Issues
0
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
queue
/
src
/
Queue
/
Queue.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 398 Bytes
Breadcrumbs
queue
/
src
/
Queue
/
Queue.php
Copy path
File metadata and controls
18 lines (15 loc) · 398 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
<?php
declare
(strict_types=
1
);
namespace
Utopia
\
Queue
;
readonly
class
Queue
{
public
function
__construct
(
public
string
$
name
,
public
string
$
namespace
=
'
utopia-queue
'
,
public
int
$
jobTtl
=
0
,
) {
if
(
$
this
->
name
===
''
||
$
this
->
name
===
'
0
'
) {
throw
new
\
InvalidArgumentException
(
'
Cannot create queue with empty name.
'
);
}
}
}
Back
|
FazBrowse Home
|
New Git URL