Refactoring
This commit is contained in:
18
lib/composer/vendor/consolidation/robo/src/Contract/SimulatedInterface.php
vendored
Normal file
18
lib/composer/vendor/consolidation/robo/src/Contract/SimulatedInterface.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Robo\Contract;
|
||||
|
||||
/**
|
||||
* Task that implements this interface can be injected as a parameter for other task.
|
||||
* This task can be represented as executable command.
|
||||
*
|
||||
* @package Robo\Contract
|
||||
*/
|
||||
interface SimulatedInterface extends TaskInterface
|
||||
{
|
||||
/**
|
||||
* Called in place of `run()` for simulated tasks.
|
||||
*
|
||||
* @param null|array $context
|
||||
*/
|
||||
public function simulate($context);
|
||||
}
|
||||
Reference in New Issue
Block a user