mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-06 04:07:57 +00:00
Implemented TemplateMeta and tests
This commit is contained in:
@@ -54,7 +54,7 @@ class SourceMeta implements SourceMetaInterface
|
||||
private function setBasicPathArray(): void
|
||||
{
|
||||
$namespace = $this->sourceReflection->getNamespaceName();
|
||||
$namespaceWithoutRoot = str_replace('App\\', '', $namespace);
|
||||
$namespaceWithoutRoot = str_replace('App\\Entity\\', '', $namespace);
|
||||
$this->basicPathArray = [];
|
||||
foreach (explode('\\', $namespaceWithoutRoot) as $element) {
|
||||
$this->basicPathArray[] = strtolower($element);
|
||||
|
||||
Reference in New Issue
Block a user