Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / robo / src / Task / Bower / Install.php
1 <?php
2 namespace Robo\Task\Bower;
3
4 use Robo\Contract\CommandInterface;
5
6 /**
7  * Bower Install
8  *
9  * ``` php
10  * <?php
11  * // simple execution
12  * $this->taskBowerInstall()->run();
13  *
14  * // prefer dist with custom path
15  * $this->taskBowerInstall('path/to/my/bower')
16  *      ->noDev()
17  *      ->run();
18  * ?>
19  * ```
20  */
21 class Install extends Base implements CommandInterface
22 {
23     /**
24      * {@inheritdoc}
25      */
26     protected $action = 'install';
27
28     /**
29      * {@inheritdoc}
30      */
31     public function run()
32     {
33         $this->printTaskInfo('Install Bower packages: {arguments}', ['arguments' => $this->arguments]);
34         return $this->executeCommand($this->getCommand());
35     }
36 }