Generates no files.
This generator is implicitly registered with any artifact that specifies no generators at all, i.e. one that has has no influence on the generated product. This way unused artifacts are logged and can be identified easily.
package | Default |
---|---|
inherited_from | \FeaturePhp\Generator\Generator |
__construct(\FeaturePhp\Generator\Settings $settings)
inherited_from | \FeaturePhp\Generator\Generator::__construct() |
---|
\FeaturePhp\Generator\Settings
__construct(\FeaturePhp\Generator\Settings $settings)
\FeaturePhp\Generator\Settings
addDeselectedArtifact(\FeaturePhp\Artifact\Artifact $artifact)
\FeaturePhp\Artifact\Artifact
addSelectedArtifact(\FeaturePhp\Artifact\Artifact $artifact)
\FeaturePhp\Artifact\Artifact
generateFiles() : array<mixed,\FeaturePhp\File\File>
If the files have already been generated, returns the cached files. The generator's log file is included.
array<mixed,\FeaturePhp\File\File>
getGeneratorMap() : array<mixed,string>
array<mixed,string>
getKey() : string
The key is the name used to identify the \FeaturePhp\Generator\Settings for a generator.
inherited_from | \FeaturePhp\Generator\Generator::getKey() |
---|
string
getKey() : string
The key is the name used to identify the \FeaturePhp\Generator\Settings for a generator.
string
getRegisteredArtifacts() : array<mixed,\FeaturePhp\Artifact\Artifact>
array<mixed,\FeaturePhp\Artifact\Artifact>
getSettings() : \FeaturePhp\Generator\Settings
\FeaturePhp\Generator\Settings
hasArtifacts() : boolean
boolean
trace() : array<mixed,\FeaturePhp\Artifact\TracingLink>
array<mixed,\FeaturePhp\Artifact\TracingLink>
_generateFiles()
inherited_from | \FeaturePhp\Generator\Generator::_generateFiles() |
---|
_generateFiles()
isSelectedFeature(string $featureName) : boolean
string
boolean
getGenerators() : array<mixed,string>
array<mixed,string>
$deselectedArtifacts : array<mixed,\FeaturePhp\Artifact\Artifact>
$files : array<mixed,\FeaturePhp\File\File>
$logFile : \FeaturePhp\File\LogFile
$selectedArtifacts : array<mixed,\FeaturePhp\Artifact\Artifact>
$settings : \FeaturePhp\Generator\Settings
$tracingLinks : array<mixed,\FeaturePhp\Artifact\TracingLink>