| Methods | ||
|---|---|---|
public
|
__construct(
Filesystem $fs,
AutoloaderUtil $autoloaderUtil,
MakerFileLinkFormatter $makerFileLinkFormatter,
string $rootDirectory,
?string $twigDefaultPath = null,
)
|
# |
public
|
setIO(SymfonyStyle $io): void
|
# |
public
|
parseTemplate(string $templatePath, array $parameters): string
|
# |
public
|
dumpFile(string $filename, string $content): void
|
# |
public
|
fileExists($path): bool
|
# |
public
|
relativizePath(string $absolutePath): string
|
# |
public
|
getFileContents(string $path): string
|
# |
public
|
isPathInVendor(string $path): bool
|
# |
public
|
absolutizePath($path): string
|
# |
public
|
getRelativePathForFutureClass(string $className): ?string
|
# |
public
|
getNamespacePrefixForClass(string $className): string
|
# |
public
|
isNamespaceConfiguredToAutoload(string $namespace): bool
|
# |
public
|
getRootDirectory(): string
|
# |
public
|
getPathForTemplate(string $filename): string
|
# |
private
|
realPath(string $absolutePath): string
|
# |
private
|
normalizeSlashes(string $path): string
|
# |
| Properties | |||
|---|---|---|---|
private
|
?SymfonyStyle
|
$io = null
|
# |
private
|
Filesystem
|
$fs
|
# |
private
|
AutoloaderUtil
|
$autoloaderUtil
|
# |
private
|
MakerFileLinkFormatter
|
$makerFileLinkFormatter
|
# |
private
|
string
|
$rootDirectory
|
# |
private
|
?string
|
$twigDefaultPath
|
# |