$snippetFile->
setTechnicalName($app['name'
]);
$snippetFileCollection->
add($snippetFile);
} } } /**
* @return AbstractSnippetFile[]
*/
private function loadSnippetFilesInDir(string
$snippetDir, Bundle
$bundle): array
{ $finder =
new Finder();
$finder->
in($snippetDir) ->
files() ->
name('*.json'
);
try { /** @var array<string, string> $authors */
$authors =
$this->connection->
fetchAllKeyValue('
SELECT `base_class` AS `baseClass`, `author`
FROM `plugin`
'
);
} catch (Exception
) {