Skip to content
Snippets Groups Projects

Issue #3490176 by jurgenhaas: Allow to extend ProjectBrowserSource plugins

Open Issue #3490176 by jurgenhaas: Allow to extend ProjectBrowserSource plugins
1 unresolved thread
1 unresolved thread
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
@@ -28,12 +28,12 @@ use Symfony\Component\Finder\Finder;
class Recipes extends ProjectBrowserSourceBase {
public function __construct(
private readonly FileSystemInterface $fileSystem,
private readonly CacheBackendInterface $cacheBin,
private readonly ModuleExtensionList $moduleList,
private readonly FileUrlGeneratorInterface $fileUrlGenerator,
private readonly ConfigFactoryInterface $configFactory,
private readonly string $appRoot,
protected readonly FileSystemInterface $fileSystem,
protected readonly CacheBackendInterface $cacheBin,
protected readonly ModuleExtensionList $moduleList,
protected readonly FileUrlGeneratorInterface $fileUrlGenerator,
protected readonly ConfigFactoryInterface $configFactory,
protected readonly string $appRoot,
mixed ...$arguments,
) {
parent::__construct(...$arguments);
@@ -165,7 +165,7 @@ class Recipes extends ProjectBrowserSourceBase {
* @return \Symfony\Component\Finder\Finder
* A Symfony Finder object, configured to find locally installed recipes.
*/
private function getFinder(): Finder {
protected function getFinder(): Finder {
$search_in = [$this->appRoot . '/core/recipes'];
// If any recipes have been installed by Composer, also search there. The
Loading