Skip to content
Snippets Groups Projects
Commit 130a7740 authored by Tim Bozeman's avatar Tim Bozeman
Browse files

Issue #3506574 by tim bozeman: Private methods throwing an error

parent 05de5878
Branches
No related merge requests found
...@@ -15,15 +15,11 @@ use Drupal\component_library\Entity\ComponentLibraryAsset; ...@@ -15,15 +15,11 @@ use Drupal\component_library\Entity\ComponentLibraryAsset;
*/ */
class Asset { class Asset {
private FileSystemInterface $fileSystem; public function __construct(
private ConfigFactoryInterface $configFactory; protected FileSystemInterface $fileSystem,
private LibraryDiscoveryInterface $libraryDiscovery; protected LibraryDiscoveryInterface $libraryDiscovery,
protected ConfigFactoryInterface $configFactory,
public function __construct(FileSystemInterface $file_system, LibraryDiscoveryInterface $library_discovery, ConfigFactoryInterface $config_factory) { ) {}
$this->fileSystem = $file_system;
$this->configFactory = $config_factory;
$this->libraryDiscovery = $library_discovery;
}
/** /**
* Generate library files. * Generate library files.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment