Mercurial > hg > isophonics-drupal-site
view vendor/consolidation/annotated-command/src/Hooks/StatusDeterminerInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 129ea1e6d783 |
line wrap: on
line source
<?php namespace Consolidation\AnnotatedCommand\Hooks; /** * A StatusDeterminer maps from a result to a status exit code. * * @see HookManager::addStatusDeterminer() */ interface StatusDeterminerInterface { /** * Convert a result object into a status code, if * possible. Return null if the result object is unknown. * * @return null|integer */ public function determineStatusCode($result); }