Classes/Command/ReferenceCommandController.php
public function renderCollectionCommand($collection)
    {
        if (!isset($this->settings['collections'][$collection])) {
            $this->outputLine('Collection "%s" is not configured', [$collection]);
            $this->quit(1);
        }
        if (!isset($this->settings['collections'][$collection]['references'])) {
            $this->outputLine('Collection "%s" does not have any references', [$collection]);
            $this->quit(1);
        }
        $references = $this->settings['collections'][$collection]['references'];
        $this->renderReferences($references);
    }
public function renderCollectionCommand($collection)
    {
        if (!isset($this->settings['collections'][$collection])) {
            $this->outputLine('Collection "%s" is not configured', [$collection]);
            $this->quit(1);
        }
        if (!isset($this->settings['collections'][$collection]['references'])) {
            $this->outputLine('Collection "%s" does not have any references', [$collection]);
            $this->quit(1);
        }
        $references = $this->settings['collections'][$collection]['references'];
        $this->renderReferences($references);
    }
public function renderCollectionCommand ( $ collection ) { if ( ! isset ( $ this -> settings [ 'collections' ] [ $ collection ] ) ) { $ this -> outputLine ( 'Collection "%s" is not configured' , [ $ collection ] ) ; $ this -> quit ( 1 ) ; } if ( ! isset ( $ this -> settings [ 'collections' ] [ $ collection ] [ 'references' ] ) ) { $ this -> outputLine ( 'Collection "%s" does not have any references' , [ $ collection ] ) ; $ this -> quit ( 1 ) ; } $ references = $ this -> settings [ 'collections' ] [ $ collection ] [ 'references' ] ; $ this -> renderReferences ( $ references ) ; }
Renders a configured collection of reference documentation from source code.

@param string $collection to render (typically the name of a package).
@return void
@throws \Neos\Flow\Mvc\Exception\StopActionException
@throws \Neos\FluidAdaptor\Exception
@throws \Neos\Flow\Reflection\Exception\ClassLoadingForReflectionFailedException
Renders a configured collection of reference documentation from source code .