Skip to content

Commit

Permalink
fix: Code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yaraslau-kavaliou committed Oct 12, 2023
1 parent 403457a commit c7ca9d4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/install/EnableGraphDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ public function __invoke($params)

$complexSearchService = $sm->get(ComplexSearchService::SERVICE_ID);
$serviceOptions = $complexSearchService->getOptions();

$serviceOptions['shared']['search.neo4j.serialyser'] = false;
$serviceOptions['invokables']['search.driver.neo4j'] = '\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\Neo4jEscapeDriver';
$serviceOptions['invokables']['search.neo4j.serialyser'] = '\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\QuerySerializer';
$serviceOptions['invokables']['search.tao.gateway'] = '\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\GateWay';
$serviceOptions['invokables']['search.driver.neo4j'] =
'\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\Neo4jEscapeDriver';
$serviceOptions['invokables']['search.neo4j.serialyser'] =
'\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\QuerySerializer';
$serviceOptions['invokables']['search.tao.gateway'] =
'\\oat\\generis\\model\\kernel\\persistence\\starsql\\search\\GateWay';
$sm->register(ComplexSearchService::SERVICE_ID, new ComplexSearchService($serviceOptions));
}
}

0 comments on commit c7ca9d4

Please sign in to comment.