Skip to content

Commit 633d8c2

Browse files
author
Marc Aschmann
committed
Cleanup naming
1 parent afe03fb commit 633d8c2

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

DependencyInjection/Compiler/ComponentRegistryCompilerPass.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* This file is part of the asm\phpflo-bundle package.
3+
* This file is part of the phpflo\phpflo-bundle package.
44
*
55
* (c) Marc Aschmann <maschmann@gmail.com>
66
*
@@ -30,14 +30,14 @@ class ComponentRegistryCompilerPass implements CompilerPassInterface
3030
*/
3131
public function process(ContainerBuilder $container)
3232
{
33-
if (!$container->hasDefinition('asm_phpflo.component_registry')) {
33+
if (!$container->hasDefinition('phpflo.component_registry')) {
3434
return;
3535
}
3636
$definition = $container->getDefinition(
37-
'asm_phpflo.component_registry'
37+
'phpflo.component_registry'
3838
);
3939
$taggedServices = $container->findTaggedServiceIds(
40-
'asm_phpflo.component'
40+
'phpflo.component'
4141
);
4242
foreach ($taggedServices as $id => $attributes) {
4343
if (!isset($attributes[0]['alias'])) {

DependencyInjection/PhpFloExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* This file is part of the asm\phpflo-bundle package.
3+
* This file is part of the phpflo\phpflo-bundle package.
44
*
55
* (c) Marc Aschmann <maschmann@gmail.com>
66
*

Flow/NetworkBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* This file is part of the asm\phpflo-bundle package.
3+
* This file is part of the phpflo\phpflo-bundle package.
44
*
55
* (c) Marc Aschmann <maschmann@gmail.com>
66
*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ services:
7272
public: false
7373
class: AppBundle\Component\ReadFile
7474
tags:
75-
- {name: asm_phpflo.component, alias: read_file}
75+
- {name: phpflo.component, alias: read_file}
7676

7777
```
7878
You can name the service whatever you want: The only two important things are the tags. It needs name "phpflo.component" to be found in compiler pass and the alias will be used as component name for the graph file.

Tests/Flow/NetworkTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* This file is part of the asm/phpflo-bundle package.
3+
* This file is part of the phpflo/phpflo-bundle package.
44
*
55
* (c) Marc Aschmann <maschmann@gmail.com>
66
*

0 commit comments

Comments
 (0)