| 1 | <?php |
||
| 17 | abstract class BaseManager implements LoggerAwareInterface, ContainerAwareInterface |
||
| 18 | { |
||
| 19 | protected static $documentIgnoreList = array('/\.example$/'); |
||
| 20 | |||
| 21 | /** @var Container */ |
||
| 22 | protected $container; |
||
| 23 | /** @var LoggerInterface */ |
||
| 24 | protected $output; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var Filesystem |
||
| 28 | */ |
||
| 29 | protected $fs; |
||
|
|
|||
| 30 | |||
| 31 | 62 | public function __construct() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 58 | public function setLogger(LoggerInterface $logger) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | 14 | public function setContainer(ContainerInterface $container = null) |
|
| 48 | { |
||
| 49 | 14 | $this->container = $container; |
|
| 50 | 14 | } |
|
| 51 | |||
| 52 | /** |
||
| 53 | * Build the manager's internals after it's been configured. |
||
| 54 | */ |
||
| 55 | public function compileManager() |
||
| 59 | } |
||
| 60 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.