ParseFileCommand
in package
FinalYes
Table of Contents
Properties
- $directory : string
- $extension : string
- $file : string
- $initialHeaderLevel : int
- $isRoot : bool
- $origin : FilesystemInterface
- $projectNode : ProjectNode
Methods
- __construct() : mixed
- getDirectory() : string
- getExtension() : string
- getFile() : string
- getInitialHeaderLevel() : int
- getOrigin() : FilesystemInterface
- getProjectNode() : ProjectNode
- isRoot() : bool
Properties
$directory read-only
private
string
$directory
$extension read-only
private
string
$extension
$file read-only
private
string
$file
$initialHeaderLevel read-only
private
int
$initialHeaderLevel
$isRoot read-only
private
bool
$isRoot
$origin read-only
private
FilesystemInterface
$origin
$projectNode read-only
private
ProjectNode
$projectNode
Methods
__construct()
public
__construct(FilesystemInterface $origin, string $directory, string $file, string $extension, int $initialHeaderLevel, ProjectNode $projectNode, bool $isRoot) : mixed
Parameters
- $origin : FilesystemInterface
- $directory : string
- $file : string
- $extension : string
- $initialHeaderLevel : int
- $projectNode : ProjectNode
- $isRoot : bool
getDirectory()
public
getDirectory() : string
Return values
stringgetExtension()
public
getExtension() : string
Return values
stringgetFile()
public
getFile() : string
Return values
stringgetInitialHeaderLevel()
public
getInitialHeaderLevel() : int
Return values
intgetOrigin()
public
getOrigin() : FilesystemInterface
Return values
FilesystemInterfacegetProjectNode()
public
getProjectNode() : ProjectNode
Return values
ProjectNodeisRoot()
public
isRoot() : bool