- public function __construct(ContainerInterface $container, IntlUtil $intl, FileLocator $locator, PackageInterface $package, SluggerUtil $slugger) {
- //Set intl util
- $this->intl = $intl;
-
- //Set file locator
- $this->locator = $locator;
-
- //Set assets packages
- $this->package = $package;
-
- //Set slugger util
- $this->slugger = $slugger;
-
+ public function __construct(protected ContainerInterface $container, protected IntlUtil $intl, protected FileLocator $locator, protected PackageInterface $package, protected SluggerUtil $slugger) {