Refactoring
This commit is contained in:
1 parent
af40881847
commit
a7274d3cfd
5075 files changed
+238202
-16291
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Robo\Contract;
|
||||
|
||||
/**
|
||||
* Any Robo tasks that implements this interface will
|
||||
* be called when the task collection it is added to
|
||||
* fails, and runs its rollback operation.
|
||||
*
|
||||
* Interface RollbackInterface
|
||||
* @package Robo\Contract
|
||||
*/
|
||||
interface RollbackInterface extends TaskInterface
|
||||
{
|
||||
/**
|
||||
* Revert an operation that can be rolled back
|
||||
*/
|
||||
public function rollback();
|
||||
}
|
||||
Reference in new issue
Block a user