Skip to content

Commit e65e94a

Browse files
committed
namespace refactoring
1 parent b035950 commit e65e94a

14 files changed

Lines changed: 38 additions & 38 deletions

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
},
2525
"autoload": {
2626
"psr-4": {
27-
"DotKernel\\DotController\\": "src/"
27+
"Dot\\Controller\\": "src/"
2828
}
2929
},
3030
"autoload-dev": {
3131
"psr-4": {
32-
"DotKernelTest\\DotController\\": "test/"
32+
"DotTest\\Controller\\": "test/"
3333
}
3434
},
3535
"extra": {

src/AbstractActionController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController;
10+
namespace Dot\Controller;
1111

1212
use Psr\Http\Message\ResponseInterface;
1313

1414
/**
1515
* Class AbstractActionController
16-
* @package DotKernel\DotController
16+
* @package Dot\Controller
1717
*/
1818
class AbstractActionController extends AbstractController
1919
{

src/AbstractController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController;
10+
namespace Dot\Controller;
1111

12-
use DotKernel\DotController\Plugin\PluginManager;
13-
use DotKernel\DotController\Plugin\PluginManagerAwareInterface;
12+
use Dot\Controller\Plugin\PluginManager;
13+
use Dot\Controller\Plugin\PluginManagerAwareInterface;
1414
use Psr\Http\Message\ResponseInterface;
1515
use Psr\Http\Message\ServerRequestInterface;
1616

1717
/**
1818
* Class AbstractController
19-
* @package DotKernel\DotController
19+
* @package Dot\Controller
2020
*/
2121
abstract class AbstractController implements PluginManagerAwareInterface
2222
{

src/ConfigProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController;
10+
namespace Dot\Controller;
1111

12-
use DotKernel\DotController\Factory\PluginManagerAwareInitializer;
13-
use DotKernel\DotController\Factory\PluginManagerFactory;
14-
use DotKernel\DotController\Plugin\PluginManager;
12+
use Dot\Controller\Factory\PluginManagerAwareInitializer;
13+
use Dot\Controller\Factory\PluginManagerFactory;
14+
use Dot\Controller\Plugin\PluginManager;
1515

1616
/**
1717
* Class ConfigProvider
18-
* @package DotKernel\DotController
18+
* @package Dot\Controller
1919
*/
2020
class ConfigProvider
2121
{

src/Exception/ExceptionInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Exception;
10+
namespace Dot\Controller\Exception;
1111

1212
/**
1313
* Interface ExceptionInterface
14-
* @package DotKernel\DotController\Exception
14+
* @package Dot\Controller\Exception
1515
*/
1616
interface ExceptionInterface
1717
{

src/Exception/RuntimeException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Exception;
10+
namespace Dot\Controller\Exception;
1111

1212
/**
1313
* Class RuntimeException
14-
* @package DotKernel\DotController\Exception
14+
* @package Dot\Controller\Exception
1515
*/
1616
class RuntimeException extends \RuntimeException implements ExceptionInterface
1717
{

src/Factory/PluginManagerAwareInitializer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Factory;
10+
namespace Dot\Controller\Factory;
1111

12-
use DotKernel\DotController\Plugin\PluginManager;
13-
use DotKernel\DotController\Plugin\PluginManagerAwareInterface;
12+
use Dot\Controller\Plugin\PluginManager;
13+
use Dot\Controller\Plugin\PluginManagerAwareInterface;
1414
use Interop\Container\ContainerInterface;
1515
use Zend\ServiceManager\Initializer\InitializerInterface;
1616

1717
/**
1818
* Class PluginManagerAwareInitializer
19-
* @package DotKernel\DotController\Factory
19+
* @package Dot\Controller\Factory
2020
*/
2121
class PluginManagerAwareInitializer implements InitializerInterface
2222
{

src/Factory/PluginManagerFactory.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Factory;
10+
namespace Dot\Controller\Factory;
1111

12-
use DotKernel\DotController\Plugin\PluginManager;
13-
use DotKernel\DotController\Plugin\TemplatePlugin;
14-
use DotKernel\DotController\Plugin\UrlHelperPlugin;
12+
use Dot\Controller\Plugin\PluginManager;
13+
use Dot\Controller\Plugin\TemplatePlugin;
14+
use Dot\Controller\Plugin\UrlHelperPlugin;
1515
use Interop\Container\ContainerInterface;
1616
use Zend\Expressive\Helper\UrlHelper;
1717
use Zend\Expressive\Template\TemplateRendererInterface;
1818

1919
/**
2020
* Class PluginManagerFactory
21-
* @package DotKernel\DotController\Factory
21+
* @package Dot\Controller\Factory
2222
*/
2323
class PluginManagerFactory
2424
{

src/Plugin/PluginInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Plugin;
10+
namespace Dot\Controller\Plugin;
1111

1212
/**
1313
* Interface PluginInterface
14-
* @package DotKernel\DotController\Plugin
14+
* @package Dot\Controller\Plugin
1515
*/
1616
interface PluginInterface
1717
{

src/Plugin/PluginManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
* Time: 8:24 PM
88
*/
99

10-
namespace DotKernel\DotController\Plugin;
10+
namespace Dot\Controller\Plugin;
1111

1212
use Zend\ServiceManager\AbstractPluginManager;
1313

1414
/**
1515
* Class PluginManager
16-
* @package DotKernel\DotController\Plugin
16+
* @package Dot\Controller\Plugin
1717
*/
1818
class PluginManager extends AbstractPluginManager
1919
{

0 commit comments

Comments
 (0)