src/Filter/AggregateFilter.php
public function process(ThingInterface $thing, $sourcePath, OptionsInterface $options = null)
    {
        foreach ($this->filters as $filter) {
            if ($filter->canHandle($thing)) {
                return $filter->process($thing, $sourcePath, $options);
            }
        }

        return null;
    }
public function process(ThingInterface $thing, $sourcePath, OptionsInterface $options = null)
    {
        foreach ($this->filters as $filter) {
            if ($filter->canHandle($thing)) {
                return $filter->process($thing, $sourcePath, $options);
            }
        }

        return null;
    }
@param ThingInterface   $thing
@param string           $sourcePath
@param OptionsInterface $options

@return array Paths to generated files