public final T yield(final T t) {
        try {
            return resultHandler.handleResult(t);
        } catch (CollectionAbortedException ex) {
            // suppress
            return null;
        }
    }
Yield a single result. To be called from within your "run" method.

@param t
jphp-runtime/src/php/runtime/util/generator/Generator.java