👤U
Size: a a a
👤U
D
КС
SG
A
A
A
foreach ($this->sets as $set) {
foreach ($this->filesystem->allFiles($set['path']) as $file) {
if ($file->getExtension() !== 'svg') {
continue;
}
$path = array_filter(explode('/', Str::after($file->getPath(), $set['path'])));
Blade::component(
SvgComponent::class,
implode('.', array_filter($path + [$file->getFilenameWithoutExtension()])),
$set['prefix'],
);
}
}А
foreach ($this->sets as $set) {
foreach ($this->filesystem->allFiles($set['path']) as $file) {
if ($file->getExtension() !== 'svg') {
continue;
}
$path = array_filter(explode('/', Str::after($file->getPath(), $set['path'])));
Blade::component(
SvgComponent::class,
implode('.', array_filter($path + [$file->getFilenameWithoutExtension()])),
$set['prefix'],
);
}
}А
MW
MW
ВС
MW
ВС
MW
A
A
MW
A