1 | <?php |
||
57 | class LogCommand extends AbstractCommand |
||
58 | { |
||
59 | /** |
||
60 | * Available arguments for this command. |
||
61 | * |
||
62 | * @var array $arguments |
||
63 | */ |
||
64 | protected $arguments = [ |
||
65 | 'file' => '' |
||
66 | ]; |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | * |
||
71 | * @var mixed $options |
||
72 | */ |
||
73 | protected $options = [ |
||
74 | '--follow' => false, |
||
75 | '--date' => '', |
||
76 | '--copies' => false, |
||
77 | '--keyword' => [], |
||
78 | '--rev' => [], |
||
79 | '--removed' => false, |
||
80 | '--user' => [], |
||
81 | '--branch' => [], |
||
82 | '--prune' => [], |
||
83 | '--patch' => false, |
||
84 | '--git' => false, |
||
85 | '--limit' => '', |
||
86 | '--no-merges' => false, |
||
87 | '--stat' => false, |
||
88 | '--graph' => false, |
||
89 | '--template' => '', |
||
90 | '--include' => [], |
||
91 | '--exclude' => [], |
||
92 | ]; |
||
93 | |||
94 | /** |
||
95 | * Get the file argument. |
||
96 | * |
||
97 | * @return string |
||
98 | */ |
||
99 | 1 | public function getFile() |
|
103 | |||
104 | /** |
||
105 | * Set the file argument. |
||
106 | * |
||
107 | * @param string $file |
||
108 | * |
||
109 | * @return LogCommand |
||
110 | */ |
||
111 | 1 | public function setFile($file) |
|
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | 1 | public function __toString() |
|
130 | } |
||
131 |