PHP Класс Sulu\Bundle\ContentBundle\Command\CleanupHistoryCommand

Наследование: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession )
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Приватные методы

Метод Описание
cleanSession ( Symfony\Component\Console\Output\OutputInterface $output, PHPCR\SessionInterface $session, $path, $dryRun )
cleanup ( Symfony\Component\Console\Output\OutputInterface $output, PHPCR\NodeInterface $node, string $rootPath, boolean $dryRun ) Cleanup specific node and his children.

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

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

public __construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession )
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$defaultSession PHPCR\SessionInterface
$liveSession PHPCR\SessionInterface

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

public configure ( )

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

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface