PHP Класс Sulu\Bundle\DocumentManagerBundle\Initializer\Initializer

Can purge and initialize the content repository using any number of registered *initializers*. Initializers should be designed to be idempotent - they should not do anything to change the state of the repository beyond their initial changes: https://en.wikipedia.org/wiki/Idempotent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, array $initializerMap = [] )
initialize ( Symfony\Component\Console\Output\OutputInterface $output = null, boolean $purge = false ) Initialize the content repository, optionally purging it before-hand.

Описание методов

__construct() публичный Метод

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, array $initializerMap = [] )
$container Symfony\Component\DependencyInjection\ContainerInterface
$initializerMap array

initialize() публичный Метод

Initialize the content repository, optionally purging it before-hand.
public initialize ( Symfony\Component\Console\Output\OutputInterface $output = null, boolean $purge = false )
$output Symfony\Component\Console\Output\OutputInterface
$purge boolean