PHP Класс Sulu\Bundle\ContactBundle\Command\AccountRecoverCommand

This command is fixing wrong left/right and depths (see -d) assignments of the nested tree.
Наследование: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Показать файл Открыть проект

Защищенные методы

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Execute command.

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

Метод Описание
findInitialWrongDepthGap ( ) : integer Find number of nodes where difference to parents depth > 1.
findNodesWithoutParents ( ) : integer Find number of nodes that have no parent but depth > 0.
fixNodesWithoutParents ( ) Set every node where depth > 0 and has no parents to depth 0.
fixWrongDepthGap ( ) : integer | boolean Fix nodes where difference to parents depth.
getEntityManager ( ) : EntityManager
getEntityRepository ( ) : EntityRepository

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

configure() защищенный Метод

protected configure ( )

execute() защищенный Метод

Execute command.
protected 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