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