This commit is contained in:
2024-06-19 10:44:59 +03:00
parent 2e584e07da
commit 48d8675965
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -2,6 +2,6 @@
return [
'MainAbstractFactory' => [
'Bx\\Null\\Factory\\NullFactory' => ['cache' => ['hit'], 'is_collection_query' => true],
]
'Bx\Null\Factory\NullFactory' => ['cache' => ['hit'], 'is_collection_query' => true],
],
];
+5
View File
@@ -31,6 +31,11 @@ class NullFactory extends AORMFactory
return 'bx_null';
}
public function __getCollectionClass()
{
return NullCollection::class;
}
/**
* @param $id
* @return NullEntity