Skip to content

Commit 8502049

Browse files
authored
Match method definitions with core (#94)
1 parent a24a5c7 commit 8502049

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/Fields/BlueprintRepository.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99

1010
class BlueprintRepository extends StacheRepository
1111
{
12-
private const BLINK_FOUND = 'blueprints.found';
13-
14-
private const BLINK_FROM_FILE = 'blueprints.from-file';
15-
16-
private const BLINK_NAMESPACE_PATHS = 'blueprints.paths-in-namespace';
12+
protected const BLINK_FOUND = 'blueprints.found';
13+
protected const BLINK_FROM_FILE = 'blueprints.from-file';
14+
protected const BLINK_NAMESPACE_PATHS = 'blueprints.paths-in-namespace';
1715

1816
public function find($blueprint): ?Blueprint
1917
{
@@ -80,7 +78,7 @@ public function in(string $namespace)
8078
->keyBy->handle();
8179
}
8280

83-
private function filesIn($namespace)
81+
protected function filesIn($namespace)
8482
{
8583
return Blink::store(self::BLINK_NAMESPACE_PATHS)->once($namespace ?? 'none', function () use ($namespace) {
8684
$namespace = str_replace('/', '.', $namespace);
@@ -105,7 +103,7 @@ private function makeBlueprintFromModel($model)
105103
});
106104
}
107105

108-
private function getNamespaceAndHandle($blueprint)
106+
protected function getNamespaceAndHandle($blueprint)
109107
{
110108
$blueprint = str_replace('/', '.', $blueprint);
111109
$parts = explode('.', $blueprint);

0 commit comments

Comments
 (0)