diff --git a/DQL/ExistsAnyFunction.php b/DQL/ExistsAnyFunction.php deleted file mode 100755 index 7a12169..0000000 --- a/DQL/ExistsAnyFunction.php +++ /dev/null @@ -1,29 +0,0 @@ -hstoreExpression->dispatch($sqlWalker) . ', ARRAY[' . - $this->keyExpression->dispatch($sqlWalker) . '])'; - } - - public function parse(\Doctrine\ORM\Query\Parser $parser) - { - $parser->match(Lexer::T_IDENTIFIER); - $parser->match(Lexer::T_OPEN_PARENTHESIS); - $this->hstoreExpression = $parser->StringPrimary(); - $parser->match(Lexer::T_COMMA); - $this->keyExpression = $parser->StringPrimary(); - $parser->match(Lexer::T_CLOSE_PARENTHESIS); - } -} diff --git a/DependencyInjection/IntaroHStoreExtension.php b/DependencyInjection/IntaroHStoreExtension.php index 773ab8b..bc9eaf5 100644 --- a/DependencyInjection/IntaroHStoreExtension.php +++ b/DependencyInjection/IntaroHStoreExtension.php @@ -26,10 +26,10 @@ public function prepend(ContainerBuilder $container) $dbalConfig = [ 'dbal' => [ 'types' => [ - 'hstore' => 'Intaro\HStoreBundle\DBAL\Types\HStoreType' + 'hstore' => 'Intaro\HStoreBundle\DBAL\Types\HStoreType' ], 'mapping_types' => [ - 'hstore' => 'hstore' + 'hstore' => 'hstore' ], ], 'orm' => [ @@ -37,7 +37,6 @@ public function prepend(ContainerBuilder $container) 'string_functions' => [ 'contains' => 'Intaro\HStoreBundle\DQL\ContainsFunction', 'defined' => 'Intaro\HStoreBundle\DQL\DefinedFunction', - 'existsAny' => 'Intaro\HStoreBundle\DQL\ExistsAnyFunction', 'hstoreDifference' => 'Intaro\HStoreBundle\DQL\HstoreDifferenceFunction', 'fetchval' => 'Intaro\HStoreBundle\DQL\FetchvalFunction' ]