PHP Class Neos\SiteKickstarter\Service\GeneratorService

Inheritance: extends Neos\Kickstarter\Service\GeneratorService
Datei anzeigen Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$contentDimensionRepository Neos\ContentRepository\Domain\Repository\ContentDimensionRepository
$packageManager Neos\Flow\Package\PackageManagerInterface

Public Methods

Method Description
generateSitePackage ( string $packageKey, string $siteName ) : array Generate a site package and fill it with boilerplate data.

Protected Methods

Method Description
generateAdditionalFolders ( string $packageKey ) Generate additional folders for site packages.
generateNodeTypesConfiguration ( string $packageKey ) : void Generate a example NodeTypes.yaml
generateSitesTemplate ( string $packageKey, string $siteName ) : void Generate basic template file.
generateSitesTypoScript ( string $packageKey, string $siteName ) : void Generate basic TypoScript files.
generateSitesXml ( string $packageKey, string $siteName ) : void Generate a "Sites.xml" for the given package and name.

Method Details

generateAdditionalFolders() protected method

Generate additional folders for site packages.
protected generateAdditionalFolders ( string $packageKey )
$packageKey string

generateNodeTypesConfiguration() protected method

Generate a example NodeTypes.yaml
protected generateNodeTypesConfiguration ( string $packageKey ) : void
$packageKey string
return void

generateSitePackage() public method

Generate a site package and fill it with boilerplate data.
public generateSitePackage ( string $packageKey, string $siteName ) : array
$packageKey string
$siteName string
return array

generateSitesTemplate() protected method

Generate basic template file.
protected generateSitesTemplate ( string $packageKey, string $siteName ) : void
$packageKey string
$siteName string
return void

generateSitesTypoScript() protected method

Generate basic TypoScript files.
protected generateSitesTypoScript ( string $packageKey, string $siteName ) : void
$packageKey string
$siteName string
return void

generateSitesXml() protected method

Generate a "Sites.xml" for the given package and name.
protected generateSitesXml ( string $packageKey, string $siteName ) : void
$packageKey string
$siteName string
return void

Property Details

$contentDimensionRepository protected_oe property

protected ContentDimensionRepository,Neos\ContentRepository\Domain\Repository $contentDimensionRepository
return Neos\ContentRepository\Domain\Repository\ContentDimensionRepository

$packageManager protected_oe property

protected PackageManagerInterface,Neos\Flow\Package $packageManager
return Neos\Flow\Package\PackageManagerInterface