protected function initializeCatalogue(string
$locale): void
{ $this->
initialize();
parent::
initializeCatalogue($locale);
} /**
* @internal
*/
protected function doLoadCatalogue(string
$locale): void
{ parent::
doLoadCatalogue($locale);
foreach ($this->scannedDirectories
as $directory) { $resourceClass =
file_exists($directory) ? DirectoryResource::
class D FileExistenceResource::
class;
$this->catalogues
[$locale]->
addResource(new $resourceClass($directory));
} } /**
* @return void
*/
protected function initialize() {