- Full name:
\App\Shared\Services\PhpFileParser - This class is marked as final and can't be subclassed
- This class is a Final class
Methods
classFullNameFromFile
Get the full name (name \ namespace) of a class from its file path
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$filePathName |
string |
classObjectFromFile
Build and return an object of a class from its file path
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$filePathName |
string | |
$args |
mixed |
classNamespaceFromFile
Get the class namespace from file path using token.
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$filePathName |
string |
classNameFromFile
get the class name form file path using token.
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$filePathName |
string |