- Multiple bugfixe linked to query fragments
- Added a new SearchRequest package to handle search request efficiently
This commit is contained in:
1 parent
4b29232543
commit
938639a590
15 files changed
+148
-27
No files matched your search
+7
-1
@@ -29,6 +29,7 @@ abstract class Ulmus
|
||||
}
|
||||
|
||||
$statement->closeCursor();
|
||||
|
||||
$queryBuilder->reset();
|
||||
|
||||
return [
|
||||
@@ -68,12 +69,17 @@ abstract class Ulmus
|
||||
{
|
||||
return ( static::$objectInstanciator ?? static::$objectInstanciator = new Entity\ObjectInstanciator() )->instanciate($type, $arguments);
|
||||
}
|
||||
|
||||
|
||||
public static function convertObject(object $obj)
|
||||
{
|
||||
return ( static::$objectInstanciator ?? static::$objectInstanciator = new Entity\ObjectInstanciator() )->convert($obj);
|
||||
}
|
||||
|
||||
public static function encodeArray(array $array)
|
||||
{
|
||||
return json_encode($array);
|
||||
}
|
||||
|
||||
public static function registerAdapter(ConnectionAdapter $adapter, bool $default = false) : void
|
||||
{
|
||||
if ($default) {
|
||||
|
||||
Reference in new issue
Block a user