GeneratorPath
in package
Class GeneratorPath
Table of Contents
Properties
- $generate : bool
- $namespace : string
- $path : string
Methods
- __construct() : mixed
- GeneratorPath constructor.
- generate() : bool
- getNamespace() : string
- getPath() : string
- convertPathToNamespace() : string
Properties
$generate
private
bool
$generate
$namespace
private
string
$namespace
$path
private
string
$path
Methods
__construct()
GeneratorPath constructor.
public
__construct(array<string, mixed> $config) : mixed
Parameters
- $config : array<string, mixed>
generate()
public
generate() : bool
Return values
boolgetNamespace()
public
getNamespace() : string
Return values
stringgetPath()
public
getPath() : string
Return values
stringconvertPathToNamespace()
private
convertPathToNamespace(string $path) : string
Parameters
- $path : string