Design pattern : Template Method
Inheritance: extends Symfony\Component\Console\Command\Command
示例#1
0
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     parent::initialize($input, $output);
     $this->showCycle = $input->hasOption('cycle');
     $strategy = $input->getOption('strategy');
     $this->connectionStrategy = $this->getClassFor($strategy);
 }
示例#2
0
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' with cyclic coupling';
 }
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' with bad interfaces';
 }
示例#4
0
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' and print some metrics';
 }
示例#5
0
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' with LSP violation';
 }
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' with hidden coupling';
 }
 protected function getFullDesc()
 {
     return parent::getFullDesc() . ' with centrality informations';
 }