lib/Yucca/Component/Profiler/SelectorManager.php
protected function getSource($selectorSourceName)
    {
        if (false === isset($this->sources[$selectorSourceName])) {
            $this->sources[$selectorSourceName] = new LogWrapper(
                $this->getFactory($selectorSourceName)->getSource(),
                $this->stopWatch,
                $this->datacollectorLogger
            );
        }

        return $this->sources[$selectorSourceName];
    }
protected function getSource($selectorSourceName)
    {
        if (false === isset($this->sources[$selectorSourceName])) {
            $this->sources[$selectorSourceName] = new LogWrapper(
                $this->getFactory($selectorSourceName)->getSource(),
                $this->stopWatch,
                $this->datacollectorLogger
            );
        }

        return $this->sources[$selectorSourceName];
    }
Get a source by it's name
@param $selectorSourceName
@return \Yucca\Component\Selector\Source\SelectorSourceInterface
@throws \InvalidArgumentException