1 | <?php |
||
24 | abstract class BuildableCommand extends Command |
||
|
|||
25 | { |
||
26 | const NO_CONF = 'no-conf'; |
||
27 | const NO_CLEAN = 'no-clean'; |
||
28 | const USE_DRAFTS = 'use-drafts'; |
||
29 | |||
30 | /** @var Configuration */ |
||
31 | protected $configuration; |
||
32 | |||
33 | /** @var Website */ |
||
34 | protected $website; |
||
35 | |||
36 | /** @var Filesystem */ |
||
37 | protected $fs; |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | protected function configure() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | protected function execute(InputInterface $input, OutputInterface $output) |
||
66 | |||
67 | /** |
||
68 | * Configure the website builder. |
||
69 | * |
||
70 | * @param InputInterface $input |
||
71 | */ |
||
72 | protected function configureBuild(InputInterface $input) |
||
77 | |||
78 | /** |
||
79 | * Set a parameter to the Service singleton |
||
80 | * |
||
81 | * @param InputInterface $input |
||
82 | * @param string $param |
||
83 | */ |
||
84 | private function setServiceParameter(InputInterface $input, $param) |
||
88 | } |
||
89 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.