Skip to content

Commit

Permalink
Code Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilov committed Mar 31, 2017
1 parent de10092 commit a1f94a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
* file that was distributed with this source code.
*/

namespace Glavweb\CmsContentBlock\Service;
namespace Glavweb\CmsContentBlock\Manager;

use Psr\Http\Message\ResponseInterface;
use Glavweb\CmsRestClient\CmsRestClient;

/**
* Class AbstractContentService
* Class AbstractContentManager
*
* @package Glavweb\CmsContentBlock
* @author Andrey Nilov <[email protected]>
*/
abstract class AbstractContentService
abstract class AbstractContentManager
{
/**
* Http status constants
Expand All @@ -35,7 +35,7 @@ abstract class AbstractContentService
protected $restClient;

/**
* ContentBlockService constructor.
* ContentBlockManager constructor.
*
* @param CmsRestClient $restClient
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@
* file that was distributed with this source code.
*/

namespace Glavweb\CmsContentBlock\Service;

use Glavweb\CmsRestClient\CmsRestClient;
namespace Glavweb\CmsContentBlock\Manager;

/**
* Class ContentBlockService
* Class ContentBlockManager
*
* @package Glavweb\CmsContentBlock
* @author Andrey Nilov <[email protected]>
*/
class ContentBlockService extends AbstractContentService
class ContentBlockManager extends AbstractContentManager
{
/**
* @var array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@
* file that was distributed with this source code.
*/

namespace Glavweb\CmsContentBlock\Service;

use Psr\Http\Message\ResponseInterface;
use Glavweb\CmsRestClient\CmsRestClient;
namespace Glavweb\CmsContentBlock\Manager;

/**
* Class OptionService
* Class OptionManager
*
* @package Glavweb\CmsContentBlock
* @author Andrey Nilov <[email protected]>
*/
class OptionService extends AbstractContentService
class OptionManager extends AbstractContentManager
{
/**
* @var array
Expand Down

0 comments on commit a1f94a9

Please sign in to comment.