Skip to content

Commit 5920e7a

Browse files
committed
fix: Remove remnant
1 parent 38b85f4 commit 5920e7a

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/Debug/TraceableMappingFactory.php

+1-18
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@
1515

1616
use Rekalogika\Mapper\Mapping\Mapping;
1717
use Rekalogika\Mapper\Mapping\MappingFactoryInterface;
18-
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
1918

20-
final class TraceableMappingFactory implements
21-
MappingFactoryInterface,
22-
CacheWarmerInterface
19+
final class TraceableMappingFactory implements MappingFactoryInterface
2320
{
2421
private bool $mappingCollected = false;
2522

@@ -29,20 +26,6 @@ public function __construct(
2926
) {
3027
}
3128

32-
public function isOptional(): bool
33-
{
34-
return $this->decorated instanceof CacheWarmerInterface && $this->decorated->isOptional();
35-
}
36-
37-
public function warmUp(string $cacheDir, ?string $buildDir = null): array
38-
{
39-
if ($this->decorated instanceof CacheWarmerInterface) {
40-
return $this->decorated->warmUp($cacheDir, $buildDir);
41-
}
42-
43-
return [];
44-
}
45-
4629
public function getMapping(): Mapping
4730
{
4831
if ($this->mappingCollected) {

0 commit comments

Comments
 (0)