Initial Drupal 11 with DDEV setup
This commit is contained in:
24
vendor/consolidation/robo/src/Tasks.php
vendored
Normal file
24
vendor/consolidation/robo/src/Tasks.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Robo;
|
||||
|
||||
use Robo\Common\IO;
|
||||
use Robo\Contract\IOAwareInterface;
|
||||
use Robo\Contract\BuilderAwareInterface;
|
||||
use League\Container\ContainerAwareInterface;
|
||||
use League\Container\ContainerAwareTrait;
|
||||
|
||||
class Tasks implements BuilderAwareInterface, IOAwareInterface, ContainerAwareInterface
|
||||
{
|
||||
use ContainerAwareTrait;
|
||||
use LoadAllTasks; // uses TaskAccessor, which uses BuilderAwareTrait
|
||||
use IO;
|
||||
|
||||
/**
|
||||
* @param bool $stopOnFail
|
||||
*/
|
||||
protected function stopOnFail($stopOnFail = true)
|
||||
{
|
||||
Result::$stopOnFail = $stopOnFail;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user