ApiGen\Generator\GeneratorQueue::getAllowedQueue PHP Method

getAllowedQueue() private method

private getAllowedQueue ( ) : ApiGen\Generator\TemplateGenerator[]
return ApiGen\Generator\TemplateGenerator[]
    private function getAllowedQueue()
    {
        return array_filter($this->queue, function (TemplateGeneratorInterface $generator) {
            if ($generator instanceof ConditionalTemplateGeneratorInterface) {
                return $generator->isAllowed();
            } else {
                return true;
            }
        });
    }