PHP Class Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManager

Inheritance: implements Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Webspace\Settings\SettingsManagerInterface $settingsManager, Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\DocumentManager\DocumentRegistry $registry )
isDefault ( $uuid )
load ( $webspaceKey, $type, $locale )
loadIdentifier ( $webspaceKey, $type )
remove ( $webspaceKey, $type )
save ( $webspaceKey, $type, $uuid, $locale )

Method Details

__construct() public method

public __construct ( Sulu\Component\Webspace\Settings\SettingsManagerInterface $settingsManager, Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\DocumentManager\DocumentRegistry $registry )
$settingsManager Sulu\Component\Webspace\Settings\SettingsManagerInterface
$documentManager Sulu\Component\DocumentManager\DocumentManagerInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$registry Sulu\Component\DocumentManager\DocumentRegistry

isDefault() public method

public isDefault ( $uuid )

load() public method

public load ( $webspaceKey, $type, $locale )

loadIdentifier() public method

public loadIdentifier ( $webspaceKey, $type )

remove() public method

public remove ( $webspaceKey, $type )

save() public method

public save ( $webspaceKey, $type, $uuid, $locale )