public function getStageName($stage)
    {
        switch ($stage) {
            case Runtime::PRE_DEPLOY:
                return 'Pre Deploy';

            case Runtime::ON_DEPLOY:
                return 'On Deploy';

            case Runtime::POST_DEPLOY:
                return 'Post Deploy';

            case Runtime::ON_RELEASE:
                return 'On Release';

            case Runtime::POST_RELEASE:
                return 'Post Release';
        }

        return $stage;
    }
public function getStageName($stage)
    {
        switch ($stage) {
            case Runtime::PRE_DEPLOY:
                return 'Pre Deploy';

            case Runtime::ON_DEPLOY:
                return 'On Deploy';

            case Runtime::POST_DEPLOY:
                return 'Post Deploy';

            case Runtime::ON_RELEASE:
                return 'On Release';

            case Runtime::POST_RELEASE:
                return 'Post Release';
        }

        return $stage;
    }
public function getStageName ( $ stage ) { switch ( $ stage ) { case Runtime :: PRE_DEPLOY : return 'Pre Deploy' ; case Runtime :: ON_DEPLOY : return 'On Deploy' ; case Runtime :: POST_DEPLOY : return 'Post Deploy' ; case Runtime :: ON_RELEASE : return 'On Release' ; case Runtime :: POST_RELEASE : return 'Post Release' ; } return $ stage ; }
Given a stage code it will resolve a human friendly name

@param string $stage
@return string
Given a stage code it will resolve a human friendly name