GeneratorInterface
in
Interface shared by theme and mixin generator classes.
Tags
Table of Contents
- generate() : bool
- Generate a new resource.
- getLastError() : string
- Get last error message.
- setOutputInterface() : mixed
- Set the output interface. Implements a fluent interface.
Methods
generate()
Generate a new resource.
public
generate(string $name) : bool
Parameters
- $name : string
-
Name of resource to generate.
Return values
bool —getLastError()
Get last error message.
public
getLastError() : string
Return values
string —setOutputInterface()
Set the output interface. Implements a fluent interface.
public
setOutputInterface(OutputInterface $output) : mixed
Parameters
- $output : OutputInterface
-
Output interface