Skip to content

Commit

Permalink
refactor: Move standalone MapperFactory under MapperFactory namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jan 12, 2024
1 parent 8a1fe49 commit a439c07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/MapperFactory.php → src/MapperFactory/MapperFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@
* that was distributed with this source code.
*/

namespace Rekalogika\Mapper;
namespace Rekalogika\Mapper\MapperFactory;

use Psr\Cache\CacheItemPoolInterface;
use Psr\Container\ContainerInterface;
use Rekalogika\Mapper\Command\MappingCommand;
use Rekalogika\Mapper\Command\TryCommand;
use Rekalogika\Mapper\Contracts\TransformerInterface;
use Rekalogika\Mapper\MainTransformer;
use Rekalogika\Mapper\Mapper;
use Rekalogika\Mapper\MapperInterface;
use Rekalogika\Mapper\Mapping\MappingFactory;
use Rekalogika\Mapper\Mapping\MappingFactoryInterface;
use Rekalogika\Mapper\Model\ServiceLocator;
use Rekalogika\Mapper\ObjectCache\ObjectCacheFactory;
use Rekalogika\Mapper\ObjectCache\ObjectCacheFactoryInterface;
use Rekalogika\Mapper\Transformer\ArrayToObjectTransformer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that was distributed with this source code.
*/

namespace Rekalogika\Mapper\Model;
namespace Rekalogika\Mapper\MapperFactory;

use Psr\Container\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Common/MapperTestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Rekalogika\Mapper\Tests\Common;

use Rekalogika\Mapper\MainTransformer;
use Rekalogika\Mapper\MapperFactory;
use Rekalogika\Mapper\MapperFactory\MapperFactory;
use Rekalogika\Mapper\Mapping\MappingFactoryInterface;
use Rekalogika\Mapper\TypeResolver\TypeResolverInterface;

Expand Down

0 comments on commit a439c07

Please sign in to comment.