public function getSuitePaths($path)
{
$real = realpath($this->getConfigDir() . $path);
if ($real !== false) {
return array($real);
}
if ($this->isGlobRequired($path)) {
$paths = array();
foreach (glob($this->getConfigDir() . $path, GLOB_ONLYDIR) as $path) {
if (($path = realpath($path)) !== false) {
$paths[] = $path;
}
}
return $paths;
}
throw new \RuntimeException("Suite path {$path} could not be found");
}