1: <?php
2: namespace Peridot\WebDriverManager\Console;
3:
4: use Peridot\WebDriverManager\Manager;
5: use Symfony\Component\Console\Command\Command;
6:
7: /**
8: * AbstractManagerCommand represents a console command that is dependent
9: * on a Manager class.
10: *
11: * @package Peridot\WebDriverManager\Console
12: */
13: abstract class AbstractManagerCommand extends Command
14: {
15: /**
16: * @var Manager
17: */
18: protected $manager;
19:
20: /**
21: * @param Manager $manager
22: */
23: public function __construct(Manager $manager)
24: {
25: parent::__construct(null);
26: $this->manager = $manager;
27: }
28: }
29: