Documentation

ClassMaker
in package

FinalYes

Table of Contents

Properties

$fs  : Filesystem
$kernel  : KernelInterface
$projectDir  : string

Methods

__construct()  : mixed
make()  : string
renderSkeleton()  : string

Properties

Methods

make()

public make(string $generatedFilePathPattern, string $skeletonName, array<string|int, mixed> $skeletonParameters) : string
Parameters
$generatedFilePathPattern : string
$skeletonName : string
$skeletonParameters : array<string|int, mixed>
Return values
string

The path of the created file (relative to the project dir)

renderSkeleton()

private renderSkeleton(string $filePath, array<string|int, mixed> $parameters) : string
Parameters
$filePath : string
$parameters : array<string|int, mixed>
Return values
string

        
On this page

Search results