1 | <?php |
||
33 | class SymfonyCli implements RouteInterface |
||
34 | { |
||
35 | /** |
||
36 | * @var \Symfony\Component\Console\Application |
||
37 | */ |
||
38 | protected $cliApplication; |
||
39 | |||
40 | /** |
||
41 | * Default values. |
||
42 | * |
||
43 | * @var array |
||
44 | */ |
||
45 | protected $defaults; |
||
46 | |||
47 | /** |
||
48 | * Constructor |
||
49 | * |
||
50 | * @param \Symfony\Component\Console\Application $cliApplication |
||
51 | * @param array $defaults |
||
52 | */ |
||
53 | 3 | public function __construct(Application $cliApplication, array $defaults = []) |
|
58 | |||
59 | /** |
||
60 | * {@inheritDoc} |
||
61 | */ |
||
62 | 3 | public function match(Request $request) |
|
76 | |||
77 | /** |
||
78 | * Disabled. |
||
79 | * |
||
80 | * {@inheritDoc} |
||
81 | * |
||
82 | * @throws \BadMethodCallException this method is disabled |
||
83 | */ |
||
84 | public function assemble(array $params = [], array $options = []) |
||
88 | |||
89 | /** |
||
90 | * {@inheritDoc} |
||
91 | */ |
||
92 | public function getAssembledParams() |
||
96 | |||
97 | /** |
||
98 | * Disabled. |
||
99 | * |
||
100 | * {@inheritDoc} |
||
101 | * |
||
102 | * @throws \BadMethodCallException this method is disabled |
||
103 | */ |
||
104 | public static function factory($options = []) |
||
108 | } |
||
109 |