comparison vendor/consolidation/annotated-command/src/ExitCodeInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2 namespace Consolidation\AnnotatedCommand;
3
4 /**
5 * If an annotated command method encounters an error, then it
6 * should either throw an exception, or return a result object
7 * that implements ExitCodeInterface.
8 */
9 interface ExitCodeInterface
10 {
11 public function getExitCode();
12 }