Method | Description | |
---|---|---|
__construct ( |
||
build ( $options = [] ) | ||
buildSerializer ( ) | ||
createContext ( $schemaFilePath, $name, $namespace, $directory ) : Joli\Jane\Generator\Context\Context | Return a list of class guessed. | |
generate ( $schemaFilePath, $name, $namespace, $directory ) : array | Generate code. |
Method | Description | |
---|---|---|
fix ( $directory ) : array | void | Fix files generated in a directory. |
public __construct ( |
||
$serializer | ||
$chainGuesser | ||
$modelGenerator | Joli\Jane\Generator\ModelGenerator | |
$normalizerGenerator | ||
$fixerConfig | PhpCsFixer\ConfigInterface |
public createContext ( $schemaFilePath, $name, $namespace, $directory ) : Joli\Jane\Generator\Context\Context | ||
$schemaFilePath | ||
$name | ||
$namespace | ||
$directory | ||
return | Joli\Jane\Generator\Context\Context |