Skip to content

Commit d716e1b

Browse files
committed
Update namespaces and configuration names
1 parent 0a11522 commit d716e1b

16 files changed

+50
-41
lines changed

DependencyInjection/NibynoolSmppClientExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\DependencyInjection;
3+
namespace Nibynool\SmppClientBundle\DependencyInjection;
44

55
use Symfony\Component\DependencyInjection\ContainerBuilder;
66
use Symfony\Component\Config\FileLocator;
@@ -12,7 +12,7 @@
1212
*
1313
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
1414
*/
15-
class KronasSmppClientExtension extends Extension
15+
class NibynoolSmppClientExtension extends Extension
1616
{
1717
/**
1818
* {@inheritDoc}
@@ -26,7 +26,7 @@ public function load(array $configs, ContainerBuilder $container)
2626
$loader->load('services.yml');
2727

2828
foreach ($config as $key => $value) {
29-
$container->setParameter('kronas_smpp_client.'.$key, $value);
29+
$container->setParameter('nibynool_smpp_client.'.$key, $value);
3030
}
3131
}
3232
}

Encoder/GsmEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\Encoder;
3+
namespace Nibynool\SmppClientBundle\Encoder;
44
/**
55
* Class capable of encoding GSM 03.38 default alphabet and packing octets into septets as described by GSM 03.38.
66
* Based on mapping: http://www.unicode.org/Public/MAPPINGS/ETSI/GSM0338.TXT

NibynoolSmppClientBundle.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle;
3+
namespace NibyNool\SmppClientBundle;
44

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

77
/**
8-
* Class KronasSmppClientBundle
8+
* Class NibynoolSmppClientBundle
99
*
10-
* @package KronasSmppClientBundle
10+
* @package NibynoolSmppClientBundle
1111
*/
12-
class KronasSmppClientBundle extends Bundle
12+
class NibynoolSmppClientBundle extends Bundle
1313
{
1414

1515
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Installation
1010
Add to composer.json
1111

1212
"require": {
13-
"nibynool/smpp-client-bundle": "^1.1.0"
13+
"nibynool/smpp-client-bundle": "^1.2.0"
1414
}
1515

1616
Add to AppKernel.php

Resources/config/services.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
services:
2-
kronas_smpp_client.transmitter:
3-
class: Kronas\SmppClientBundle\Service\SmppTransmitter
2+
nibynool_smpp_client.transmitter:
3+
class: Nibynool\SmppClientBundle\Service\SmppTransmitter
44
arguments:
5-
- [['%kronas_smpp_client.host%'], '%kronas_smpp_client.port%', '%kronas_smpp_client.socket_timeout%']
6-
- '%kronas_smpp_client.login%'
7-
- '%kronas_smpp_client.password%'
8-
- '%kronas_smpp_client.signature%'
9-
- '%kronas_smpp_client.debug%'
10-
- '%kronas_smpp_client.null_terminate%'
5+
- [['%nibynool_smpp_client.host%'], '%nibynool_smpp_client.port%', '%nibynool_smpp_client.socket_timeout%']
6+
- '%nibynool_smpp_client.login%'
7+
- '%nibynool_smpp_client.password%'
8+
- '%nibynool_smpp_client.signature%'
9+
- '%nibynool_smpp_client.debug%'
10+
- '%nibynool_smpp_client.null_terminate%'

SMPP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle;
3+
namespace Nibynool\SmppClientBundle;
44

55
/**
66
* Numerous constants for SMPP v3.4

SmppCore/SmppAddress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\SmppCore;
3+
namespace Nibynool\SmppClientBundle\SmppCore;
44

5-
use Kronas\SmppClientBundle\SMPP;
5+
use Nibynool\SmppClientBundle\SMPP;
66

77
/**
88
* Primitive class for encapsulating smpp addresses

SmppCore/SmppClient.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\SmppCore;
3+
namespace Nibynool\SmppClientBundle\SmppCore;
44

5-
use Kronas\SmppClientBundle\Exception\SmppException;
6-
use Kronas\SmppClientBundle\Transport\SocketTransport;
7-
use Kronas\SmppClientBundle\SMPP;
8-
use Kronas\SmppClientBundle\SmppCore\SmppTag;
9-
use Kronas\SmppClientBundle\Transport\TransportInterface;
5+
use Nibynool\SmppClientBundle\Exception\SmppException;
6+
use Nibynool\SmppClientBundle\Transport\SocketTransport;
7+
use Nibynool\SmppClientBundle\SMPP;
8+
use Nibynool\SmppClientBundle\SmppCore\SmppTag;
9+
use Nibynool\SmppClientBundle\Transport\TransportInterface;
1010
use RuntimeException;
1111

1212
/**

SmppCore/SmppDeliveryReceipt.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\SmppCore;
3+
namespace Nibynool\SmppClientBundle\SmppCore;
44

5-
use Kronas\SmppClientBundle\SmppCore\SmppSms;
5+
use Nibynool\SmppClientBundle\SmppCore\SmppSms;
66

77
/**
88
* An extension of a SMS, with data embedded into the message part of the SMS.

SmppCore/SmppPdu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Kronas\SmppClientBundle\SmppCore;
3+
namespace Nibynool\SmppClientBundle\SmppCore;
44

55
/**
66
* Primitive class for encapsulating PDUs

0 commit comments

Comments
 (0)