File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 99
1010class 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 );
You can’t perform that action at this time.
0 commit comments