Page MenuHomeDevCentral

CodeFile.php
No OneTemporary

CodeFile.php

<?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->getFilename());
return true;
}
public function canBeIncluded () : bool {
return $this->exists() &&$this->isReadable();
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 21, 16:58 (10 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3168391
Default Alt Text
CodeFile.php (448 B)

Event Timeline