1 | <?php |
||
8 | class TaskBuilder |
||
9 | { |
||
10 | /** |
||
11 | * @var bool |
||
12 | */ |
||
13 | protected $debug; |
||
14 | |||
15 | /** |
||
16 | * TaskBuilder constructor. |
||
17 | * |
||
18 | * @param bool $debug |
||
19 | */ |
||
20 | public function __construct($debug = false) |
||
24 | |||
25 | /** |
||
26 | * Build and return an array of Task. |
||
27 | * |
||
28 | * @param array $taskConfigurations |
||
29 | * @return Task[] |
||
30 | */ |
||
31 | public function build(array $taskConfigurations) |
||
58 | |||
59 | /** |
||
60 | * Return true if the copy filter is in last position. |
||
61 | * |
||
62 | * @param array $configuration |
||
63 | * @return bool |
||
64 | */ |
||
65 | protected function hasCopyFilter(array $configuration) |
||
71 | } |
||
72 |