Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12740971
ReportSection.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
449 B
Referenced Files
None
Subscribers
None
ReportSection.php
View Options
<?php
namespace
Keruald\Reporting
;
class
ReportSection
{
public
function
__construct
(
public
string
$title
,
/**
* @var ReportEntry[]
*/
public
array
$entries
=
[],
)
{
}
public
function
push
(
string
$title
,
string
$text
)
:
void
{
$this
->
entries
[]
=
new
ReportEntry
(
$title
,
$text
);
}
public
function
isEmpty
()
:
bool
{
return
count
(
$this
->
entries
)
===
0
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 16, 13:13 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3139302
Default Alt Text
ReportSection.php (449 B)
Attached To
Mode
rKERUALD Keruald libraries development repository
Attached
Detach File
Event Timeline
Log In to Comment