PHP Class Sulu\Bundle\ContentBundle\Command\CleanupHistoryCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__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 )

Private Methods

Method Description
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.

Method Details

__construct() public method

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 method

public configure ( )

execute() public method

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