composer.json in the wrong place. Gone now.
[yaffs-website] / vendor / consolidation / annotated-command / src / Hooks / StatusDeterminerInterface.php
1 <?php
2 namespace Consolidation\AnnotatedCommand\Hooks;
3
4 /**
5  * A StatusDeterminer maps from a result to a status exit code.
6  *
7  * @see HookManager::addStatusDeterminer()
8  */
9 interface StatusDeterminerInterface
10 {
11     /**
12      * Convert a result object into a status code, if
13      * possible. Return null if the result object is unknown.
14      *
15      * @return null|integer
16      */
17     public function determineStatusCode($result);
18 }