Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12587347
CodeFile.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
445 B
Referenced Files
None
Subscribers
None
CodeFile.php
View Options
<?php
namespace
Keruald\OmniTools\Reflection
;
use
Keruald\OmniTools\IO\File
;
class
CodeFile
extends
File
{
///
/// Include methods
///
public
function
tryInclude
()
:
bool
{
if
(!
$this
->
canBeIncluded
())
{
return
false
;
}
include
(
$this
->
getPath
());
return
true
;
}
public
function
canBeIncluded
()
:
bool
{
return
$this
->
exists
()
&&
$this
->
isReadable
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Nov 13, 15:37 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3107627
Default Alt Text
CodeFile.php (445 B)
Attached To
Mode
rKOT Keruald OmniTools
Attached
Detach File
Event Timeline
Log In to Comment