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
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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