\Expand\AddonGenerator

Summary

Methods
Properties
Constants
__construct()
generate()
generateFolders()
No public properties found
No constants found
getStubContents()
No protected properties found
N/A
generateAddonJsonFile()
No private properties found
N/A

Methods

__construct()

__construct(  $name, \Expand\Addon\Repository\AddonFileRepository|null  $addon = null, \Illuminate\Config\Repository|null  $config = null, \Illuminate\Filesystem\Filesystem|null  $filesystem = null, \Illuminate\Console\Command|null  $console = null, \Expand\Addon\Activator\AddonActivatorInterface|null  $activator = null) 

The constructor.

Parameters

$name
\Expand\Addon\Repository\AddonFileRepository|null $addon
\Illuminate\Config\Repository|null $config
\Illuminate\Filesystem\Filesystem|null $filesystem
\Illuminate\Console\Command|null $console
\Expand\Addon\Activator\AddonActivatorInterface|null $activator

generate()

generate() 

Generate the module.

generateFolders()

generateFolders() 

Generate the folders.

getStubContents()

getStubContents(  $stub) : string

Get the contents of the specified stub file by given stub name.

Parameters

$stub

Returns

string

generateAddonJsonFile()

generateAddonJsonFile() 

Generate the addon.json file