We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0fb2c commit fc17a53Copy full SHA for fc17a53
system/View/Cell.php
@@ -181,8 +181,7 @@ protected function determineClass(string $library): array
181
}
182
183
// locate and return an instance of the cell
184
- // @TODO extend Factories to be able to load classes with the same short name.
185
- $object = class_exists($class) ? new $class() : Factories::cells($class);
+ $object = Factories::cells($class, ['getShared' => false]);
186
187
if (! is_object($object)) {
188
throw ViewException::forInvalidCellClass($class);
0 commit comments