home
/
zktecojo
/
public_html
/
vendor
/
classpreloader
/
classpreloader
/
src
/
ClassPreloader
/
Parser
➕ New
📤 Upload
✎ Editing:
AbstractNodeVisitor.php
← Back
<?php namespace ClassPreloader\Parser; /** * Abstract node visitor used to track the filename */ abstract class AbstractNodeVisitor extends \PHPParser_NodeVisitorAbstract { /** * @var string Current file being parsed */ protected $filename = ''; /** * Set the full path to the current file being parsed * * @param string $filename Filename being parser * * @return self */ public function setFilename($filename) { $this->filename = $filename; return $this; } /** * Get the full path to the current file being parsed * * @return string */ public function getFilename() { return $this->filename; } /** * Get the directory of the current file being parsed * * @return string */ public function getDir() { return dirname($this->getFilename()); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel