src/Console/Console.php
public function getReporterClass()
    {
        $reporter = $this->options['reporter'];

        if ($reporter === false) {
            return self::DEFAULT_REPORTER;
        }

        $reporterClass = ucfirst($reporter) . 'Reporter';
        $reporterClass = "pho\\Reporter\\$reporterClass";

        try {
            $reflection = new ReflectionClass($reporterClass);
        } catch (ReflectionException $exception) {
            throw new ReporterNotFoundException($exception);
        }

        return $reflection->getName();
    }
public function getReporterClass()
    {
        $reporter = $this->options['reporter'];

        if ($reporter === false) {
            return self::DEFAULT_REPORTER;
        }

        $reporterClass = ucfirst($reporter) . 'Reporter';
        $reporterClass = "pho\\Reporter\\$reporterClass";

        try {
            $reflection = new ReflectionClass($reporterClass);
        } catch (ReflectionException $exception) {
            throw new ReporterNotFoundException($exception);
        }

        return $reflection->getName();
    }
public function getReporterClass ( ) { $ reporter = $ this -> options [ 'reporter' ] ; if ( $ reporter === false ) { return self :: DEFAULT_REPORTER ; } $ reporterClass = ucfirst ( $ reporter ) . 'Reporter' ; $ reporterClass = "pho\\Reporter\\$reporterClass" ; try { $ reflection = new ReflectionClass ( $ reporterClass ) ; } catch ( ReflectionException $ exception ) { throw new ReporterNotFoundException ( $ exception ) ; } return $ reflection -> getName ( ) ; }
Returns the namespaced name of the reporter class requested via the
command line arguments, defaulting to DotReporter if not specified.

@return string The namespaced class name of the reporter
@throws \pho\Exception\ReporterNotFoundException
Returns the namespaced name of the reporter class requested via the command line arguments defaulting to DotReporter if not specified .