protected function getLoadedPaths($path, $loader = null) { $loader = $loader ?: new SuiteLoader(); $loader->load($path); $loaded = $this->getObjectValue($loader, 'loadedSuites'); $paths = array_keys($loaded); return $paths; }