Peridot\Console\Command::getLoader PHP Method

getLoader() public method

Fetch the loader used by the Peridot command. Defaults to a glob based loader
public getLoader ( ) : Peridot\Runner\SuiteLoaderInterface
return Peridot\Runner\SuiteLoaderInterface
    public function getLoader()
    {
        if ($this->loader === null) {
            return new SuiteLoader($this->configuration->getGrep());
        }
        return $this->loader;
    }