1 | <?php |
||
26 | class GoCommand extends OriginalGoCommand |
||
27 | { |
||
28 | /** |
||
29 | * @var UrlGenerator |
||
30 | * |
||
31 | * URL instances generator |
||
32 | */ |
||
33 | protected $urlGenerator; |
||
34 | |||
35 | /** |
||
36 | * @var RendererFactory |
||
37 | * |
||
38 | * Renderer factory |
||
39 | */ |
||
40 | protected $rendererFactory; |
||
41 | |||
42 | /** |
||
43 | * @var Executor |
||
44 | * |
||
45 | * Visithor Executor |
||
46 | */ |
||
47 | protected $executor; |
||
48 | |||
49 | /** |
||
50 | * Construct |
||
51 | * |
||
52 | * @param UrlGenerator $urlGenerator Url generator |
||
53 | * @param RendererFactory $rendererFactory Render factory |
||
54 | * @param Executor $executor Executor |
||
55 | */ |
||
56 | public function __construct( |
||
67 | |||
68 | /** |
||
69 | * Executes all business logic inside this command |
||
70 | * |
||
71 | * This method returns 0 if all executions passed. 1 otherwise. |
||
72 | * |
||
73 | * @param OutputInterface $output Output |
||
74 | * @param array $config Config |
||
75 | * @param string $format Format |
||
76 | * |
||
77 | * @return integer Execution return |
||
78 | */ |
||
79 | protected function executeVisithor( |
||
110 | } |
||
111 |