FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
framework/src/Foundation/Kernel.php at 3.0 · fondbot/framework · GitHub
fondbot
/
framework
Public
Notifications
You must be signed in to change notification settings
Fork
15
Star
123
Code
Issues
1
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
framework
/
src
/
Foundation
/
Kernel.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (28 loc) · 550 Bytes
Breadcrumbs
framework
/
src
/
Foundation
/
Kernel.php
Copy path
File metadata and controls
35 lines (28 loc) · 550 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
33
34
35
<?php
declare
(strict_types=
1
);
namespace
FondBot
\
Foundation
;
use
FondBot
\
Channels
\
Channel
;
class
Kernel
{
public
const
VERSION
=
'
3.0.23
'
;
/** @var Channel|null */
private
$
channel
;
/**
* Initialize kernel.
*
* @param Channel $channel
*/
public
function
initialize
(
Channel
$
channel
):
void
{
$
this
->
channel
=
$
channel
;
}
/**
* Get current channel.
*
* @return Channel|null
*/
public
function
getChannel
(): ?
Channel
{
return
$
this
->
channel
;
}
}
Back
|
FazBrowse Home
|
New Git URL