Skip to content

Commit 4c61c29

Browse files
committed
.
1 parent 064b21a commit 4c61c29

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace PBaszak\UltraMapper\Mapper\Domain\Matcher\Checker;
6+
7+
use PBaszak\UltraMapper\Blueprint\Application\Model\Assets\ClassBlueprint;
8+
use PBaszak\UltraMapper\Blueprint\Application\Model\Blueprint;
9+
use PBaszak\UltraMapper\Mapper\Application\Model\Context;
10+
use PBaszak\UltraMapper\Mapper\Domain\Matcher\Contract\BlueprintCheckerInterface;
11+
use PBaszak\UltraMapper\Mapper\Domain\Model\Process;
12+
13+
class RecursiveLoopChecker implements BlueprintCheckerInterface
14+
{
15+
private Blueprint $blueprint;
16+
17+
public function check(Blueprint $blueprint, Process $process, Context $context): void
18+
{
19+
$this->blueprint = $blueprint;
20+
21+
}
22+
23+
private function checkClassBlueprint(ClassBlueprint $blueprint, Process $process, Context $context): void
24+
{
25+
/** @var PropertyBlueprint $property */
26+
foreach ($blueprint->properties as $property) {
27+
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)