Skip to content

Commit 3d0b699

Browse files
committed
Updated namespace
1 parent 41ffc81 commit 3d0b699

17 files changed

+45
-38
lines changed

Collector/DebugLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\Collector;
5+
namespace Neo4jCommunity\Neo4jBundle\Collector;
66

77
use GraphAware\Common\Cypher\StatementInterface;
88
use GraphAware\Common\Result\Result;

Collector/Neo4jDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\Collector;
5+
namespace Neo4jCommunity\Neo4jBundle\Collector;
66

77
use Symfony\Component\HttpFoundation\Request;
88
use Symfony\Component\HttpFoundation\Response;

Collector/Twig/Neo4jResultExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\Collector\Twig;
5+
namespace Neo4jCommunity\Neo4jBundle\Collector\Twig;
66

77
use GraphAware\Neo4j\Client\Formatter\Type\Node;
88

DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\DependencyInjection;
5+
namespace Neo4jCommunity\Neo4jBundle\DependencyInjection;
66

77
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
88
use Symfony\Component\Config\Definition\ConfigurationInterface;
@@ -40,7 +40,7 @@ public function __construct($debug)
4040
public function getConfigTreeBuilder()
4141
{
4242
$treeBuilder = new TreeBuilder();
43-
$root = $treeBuilder->root('graph_aware_neo4j');
43+
$root = $treeBuilder->root('community_neo4j');
4444

4545
$root->children()
4646
->arrayNode('profiling')

DependencyInjection/GraphAwareNeo4jExtension.php renamed to DependencyInjection/Neo4jCommunityNeo4jExtension.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\DependencyInjection;
5+
namespace Neo4jCommunity\Neo4jBundle\DependencyInjection;
66

77
use GraphAware\Neo4j\Client\Connection\Connection;
88
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
@@ -17,7 +17,7 @@
1717
/**
1818
* @author Tobias Nyholm <[email protected]>
1919
*/
20-
class GraphAwareNeo4jExtension extends Extension
20+
class Neo4jCommunityNeo4jExtension extends Extension
2121
{
2222
/**
2323
* {@inheritdoc}
@@ -178,4 +178,11 @@ public function getConfiguration(array $config, ContainerBuilder $container): Co
178178
{
179179
return new Configuration($container->getParameter('kernel.debug'));
180180
}
181+
182+
public function getAlias(): string
183+
{
184+
return 'community_neo4j';
185+
}
186+
187+
181188
}

Factory/ClientFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
declare (strict_types=1);
44

5-
namespace GraphAware\Neo4jBundle\Factory;
5+
namespace Neo4jCommunity\Neo4jBundle\Factory;
66

77
use GraphAware\Neo4j\Client\ClientBuilder;
88
use GraphAware\Neo4j\Client\ClientInterface;
99
use GraphAware\Neo4j\Client\Event\FailureEvent;
1010
use GraphAware\Neo4j\Client\Event\PostRunEvent;
1111
use GraphAware\Neo4j\Client\Event\PreRunEvent;
1212
use GraphAware\Neo4j\Client\Neo4jClientEvents;
13-
use GraphAware\Neo4jBundle\Collector\DebugLogger;
13+
use Neo4jCommunity\Neo4jBundle\Collector\DebugLogger;
1414

1515
/**
1616
* @author Tobias Nyholm <[email protected]>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace GraphAware\Neo4jBundle;
3+
namespace Neo4jCommunity\Neo4jBundle;
44

55
use Symfony\Component\HttpKernel\Bundle\Bundle;
66

77
/**
88
* @author Tobias Nyholm <[email protected]>
99
*/
10-
class GraphAwareNeo4jBundle extends Bundle
10+
class Neo4jCommunityNeo4jBundle extends Bundle
1111
{
1212
}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# GraphAware Neo4j Bundle
22

3-
[![Latest Version](https://img.shields.io/github/release/graphaware/neo4j-bundle.svg?style=flat-square)](https://github.com/graphaware/neo4j-bundle/releases)
4-
[![Build Status](https://img.shields.io/travis/graphaware/neo4j-bundle.svg?style=flat-square)](https://travis-ci.org/graphaware/neo4j-bundle)
5-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/graphaware/neo4j-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/graphaware/neo4j-bundle)
6-
[![Quality Score](https://img.shields.io/scrutinizer/g/graphaware/neo4j-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/graphaware/neo4j-bundle)
7-
[![Total Downloads](https://img.shields.io/packagist/dt/graphaware/neo4j-bundle.svg?style=flat-square)](https://packagist.org/packages/graphaware/neo4j-bundle)
3+
[![Latest Version](https://img.shields.io/github/release/neo4j-community/neo4j-bundle.svg?style=flat-square)](https://github.com/neo4j-community/neo4j-bundle/releases)
4+
[![Build Status](https://img.shields.io/travis/neo4j-community/neo4j-bundle.svg?style=flat-square)](https://travis-ci.org/neo4j-community/neo4j-bundle)
5+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/neo4j-community/neo4j-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/neo4j-community/neo4j-bundle)
6+
[![Quality Score](https://img.shields.io/scrutinizer/g/neo4j-community/neo4j-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/neo4j-community/neo4j-bundle)
7+
[![Total Downloads](https://img.shields.io/packagist/dt/neo4j-community/neo4j-bundle.svg?style=flat-square)](https://packagist.org/packages/neo4j-community/neo4j-bundle)
88

99

1010
## Install
1111

1212
Via Composer
1313

1414
``` bash
15-
$ composer require graphaware/neo4j-bundle
15+
$ composer require neo4j-community/neo4j-bundle
1616
```
1717

1818
Enable the bundle in your kernel:
@@ -25,7 +25,7 @@ public function registerBundles()
2525
{
2626
$bundles = array(
2727
// ...
28-
new GraphAware\Neo4jBundle\GraphAwareNeo4jBundle(),
28+
new Neo4jCommunity\Neo4jBundle\GraphAwareNeo4jBundle(),
2929
);
3030
}
3131
```

Resources/config/data-collector.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
55

66
<services>
7-
<service id="neo4j.collector.debug_collector" class="GraphAware\Neo4jBundle\Collector\Neo4jDataCollector" public="false">
7+
<service id="neo4j.collector.debug_collector" class="Neo4jCommunity\Neo4jBundle\Collector\Neo4jDataCollector" public="false">
88
<argument type="service" id="neo4j.client_logger"/>
99

1010
<tag name="data_collector" template="GraphAwareNeo4jBundle::webprofiler.html.twig" priority="200" id="neo4j"/>
1111
</service>
1212

13-
<service id="neo4j.client_logger" class="GraphAware\Neo4jBundle\Collector\DebugLogger" public="false">
13+
<service id="neo4j.client_logger" class="Neo4jCommunity\Neo4jBundle\Collector\DebugLogger" public="false">
1414
</service>
1515

16-
<service id="neo4j.collector.twig.result" class="GraphAware\Neo4jBundle\Collector\Twig\Neo4jResultExtension" public="false">
16+
<service id="neo4j.collector.twig.result" class="Neo4jCommunity\Neo4jBundle\Collector\Twig\Neo4jResultExtension" public="false">
1717
<tag name="twig.extension" />
1818
</service>
1919
</services>

Resources/config/services.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
55

66
<services>
7-
<service id="neo4j.factory.client" class="GraphAware\Neo4jBundle\Factory\ClientFactory" public="false">
7+
<service id="neo4j.factory.client" class="Neo4jCommunity\Neo4jBundle\Factory\ClientFactory" public="false">
88
<argument>null</argument>
99
</service>
1010

0 commit comments

Comments
 (0)