| 1 | <?php | ||
| 16 | abstract class AbstractCommand extends Command | ||
| 17 | { | ||
| 18 | const CODE_SUCCESS = 0; | ||
| 19 | const CODE_ERROR = 1; | ||
| 20 | const CODE_WARNING = 2; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @var string | ||
| 24 | */ | ||
| 25 | protected $rootPath; | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @param string|null $name | ||
| 29 | * | ||
| 30 | * @throws LogicException | ||
| 31 | */ | ||
| 32 | public function __construct($name = null) | ||
| 38 | } | ||
| 39 |