Skip to content

Commit dc87c57

Browse files
committed
Move types and builders to the standard platform namespace
1 parent f0f2f2b commit dc87c57

File tree

95 files changed

+163
-160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+163
-160
lines changed

example/03.types/02.custom-type.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use TypeLang\Mapper\Exception\Mapping\InvalidValueException;
66
use TypeLang\Mapper\Mapper;
7-
use TypeLang\Mapper\Platform\Builder\SimpleTypeBuilder;
87
use TypeLang\Mapper\Platform\DelegatePlatform;
8+
use TypeLang\Mapper\Platform\Standard\Builder\SimpleTypeBuilder;
9+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
910
use TypeLang\Mapper\Platform\StandardPlatform;
10-
use TypeLang\Mapper\Platform\Type\TypeInterface;
1111
use TypeLang\Mapper\Runtime\Context;
1212

1313
require __DIR__ . '/../../vendor/autoload.php';

example/03.types/03.custom-type-template-arguments.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use TypeLang\Mapper\Exception\Mapping\InvalidValueException;
66
use TypeLang\Mapper\Mapper;
7-
use TypeLang\Mapper\Platform\Builder\Builder;
87
use TypeLang\Mapper\Platform\DelegatePlatform;
8+
use TypeLang\Mapper\Platform\Standard\Builder\Builder;
9+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
910
use TypeLang\Mapper\Platform\StandardPlatform;
10-
use TypeLang\Mapper\Platform\Type\TypeInterface;
1111
use TypeLang\Mapper\Runtime\Context;
1212
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1313
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;

example/03.types/04.custom-platform.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
use TypeLang\Mapper\Mapper;
6-
use TypeLang\Mapper\Platform\Builder\ClassTypeBuilder;
76
use TypeLang\Mapper\Platform\GrammarFeature;
87
use TypeLang\Mapper\Platform\PlatformInterface;
8+
use TypeLang\Mapper\Platform\Standard\Builder\ClassTypeBuilder;
99

1010
require __DIR__ . '/../../vendor/autoload.php';
1111

example/03.types/05.custom-type-callable.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
use Psr\Container\ContainerInterface;
66
use TypeLang\Mapper\Exception\Mapping\InvalidValueException;
77
use TypeLang\Mapper\Mapper;
8-
use TypeLang\Mapper\Platform\Builder\CallableTypeBuilder;
98
use TypeLang\Mapper\Platform\DelegatePlatform;
9+
use TypeLang\Mapper\Platform\Standard\Builder\CallableTypeBuilder;
10+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
1011
use TypeLang\Mapper\Platform\StandardPlatform;
11-
use TypeLang\Mapper\Platform\Type\TypeInterface;
1212
use TypeLang\Mapper\Runtime\Context;
1313

1414
require __DIR__ . '/../../vendor/autoload.php';

example/03.types/06.custom-type-psr-container.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
use Psr\Container\ContainerInterface;
66
use TypeLang\Mapper\Exception\Mapping\InvalidValueException;
77
use TypeLang\Mapper\Mapper;
8-
use TypeLang\Mapper\Platform\Builder\PsrContainerTypeBuilder;
98
use TypeLang\Mapper\Platform\DelegatePlatform;
9+
use TypeLang\Mapper\Platform\Standard\Builder\PsrContainerTypeBuilder;
10+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
1011
use TypeLang\Mapper\Platform\StandardPlatform;
11-
use TypeLang\Mapper\Platform\Type\TypeInterface;
1212
use TypeLang\Mapper\Runtime\Context;
1313

1414
require __DIR__ . '/../../vendor/autoload.php';

src/Mapper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
use TypeLang\Mapper\Exception\Definition\TypeNotFoundException;
88
use TypeLang\Mapper\Platform\PlatformInterface;
9+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
910
use TypeLang\Mapper\Platform\StandardPlatform;
10-
use TypeLang\Mapper\Platform\Type\TypeInterface;
1111
use TypeLang\Mapper\Runtime\Configuration;
1212
use TypeLang\Mapper\Runtime\Context\RootContext;
1313
use TypeLang\Mapper\Runtime\Parser\InMemoryTypeParser;

src/Mapping/Metadata/TypeMetadata.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace TypeLang\Mapper\Mapping\Metadata;
66

7-
use TypeLang\Mapper\Platform\Type\TypeInterface;
7+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
88
use TypeLang\Parser\Node\Stmt\TypeStatement;
99

1010
final class TypeMetadata extends Metadata

src/Platform/DelegatePlatform.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace TypeLang\Mapper\Platform;
66

7-
use TypeLang\Mapper\Platform\Builder\TypeBuilderInterface;
8-
use TypeLang\Mapper\Platform\Type\TypeInterface;
7+
use TypeLang\Mapper\Platform\Standard\Builder\TypeBuilderInterface;
8+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
99
use TypeLang\Parser\Node\Stmt\TypeStatement;
1010

1111
final class DelegatePlatform implements PlatformInterface

src/Platform/PlatformInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace TypeLang\Mapper\Platform;
66

7-
use TypeLang\Mapper\Platform\Builder\TypeBuilderInterface;
8-
use TypeLang\Mapper\Platform\Type\TypeInterface;
7+
use TypeLang\Mapper\Platform\Standard\Builder\TypeBuilderInterface;
8+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
99
use TypeLang\Parser\Node\Stmt\TypeStatement;
1010

1111
interface PlatformInterface

src/Platform/Builder/ArrayTypeBuilder.php renamed to src/Platform/Standard/Builder/ArrayTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\Hint\TemplateArgumentHintsNotSupportedException;
99
use TypeLang\Mapper\Exception\Definition\Template\TooManyTemplateArgumentsException;
1010
use TypeLang\Mapper\Exception\Definition\TypeNotFoundException;
11-
use TypeLang\Mapper\Platform\Type\ArrayType;
11+
use TypeLang\Mapper\Platform\Standard\Type\ArrayType;
1212
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1313
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1414
use TypeLang\Parser\Node\Stmt\NamedTypeNode;

src/Platform/Builder/BackedEnumTypeBuilder.php renamed to src/Platform/Standard/Builder/BackedEnumTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\InternalTypeException;
8-
use TypeLang\Mapper\Platform\Type\BackedEnumType;
8+
use TypeLang\Mapper\Platform\Standard\Type\BackedEnumType;
99
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1010
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1111
use TypeLang\Parser\Node\Stmt\NamedTypeNode;

src/Platform/Builder/BoolLiteralTypeBuilder.php renamed to src/Platform/Standard/Builder/BoolLiteralTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\BoolLiteralType;
7+
use TypeLang\Mapper\Platform\Standard\Type\BoolLiteralType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Literal\BoolLiteralNode;

src/Platform/Builder/Builder.php renamed to src/Platform/Standard/Builder/Builder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\Hint\TemplateArgumentHintsNotSupportedException;
99
use TypeLang\Mapper\Exception\Definition\Template\MissingTemplateArgumentsException;
1010
use TypeLang\Mapper\Exception\Definition\Template\TemplateArgumentsNotSupportedException;
1111
use TypeLang\Mapper\Exception\Definition\Template\TooManyTemplateArgumentsException;
12-
use TypeLang\Mapper\Platform\Type\TypeInterface;
12+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
1313
use TypeLang\Parser\Node\Stmt\NamedTypeNode;
1414
use TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode;
1515
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/CallableTypeBuilder.php renamed to src/Platform/Standard/Builder/CallableTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\InternalTypeException;
8-
use TypeLang\Mapper\Platform\Type\TypeInterface;
8+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
99
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1010
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1111
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/ClassTypeBuilder.php renamed to src/Platform/Standard/Builder/ClassTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Mapping\Driver\DriverInterface;
88
use TypeLang\Mapper\Mapping\Driver\ReflectionDriver;
9-
use TypeLang\Mapper\Platform\Type\ClassType;
9+
use TypeLang\Mapper\Platform\Standard\Type\ClassType;
1010
use TypeLang\Mapper\Runtime\ClassInstantiator\ClassInstantiatorInterface;
1111
use TypeLang\Mapper\Runtime\ClassInstantiator\ReflectionClassInstantiator;
1212
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;

src/Platform/Builder/DateTimeTypeBuilder.php renamed to src/Platform/Standard/Builder/DateTimeTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Template\InvalidTemplateArgumentException;
8-
use TypeLang\Mapper\Platform\Type\DateTimeType;
8+
use TypeLang\Mapper\Platform\Standard\Type\DateTimeType;
99
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1010
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1111
use TypeLang\Parser\Node\Literal\StringLiteralNode;

src/Platform/Builder/FloatLiteralTypeBuilder.php renamed to src/Platform/Standard/Builder/FloatLiteralTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\FloatLiteralType;
7+
use TypeLang\Mapper\Platform\Standard\Type\FloatLiteralType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Literal\FloatLiteralNode;

src/Platform/Builder/IntLiteralTypeBuilder.php renamed to src/Platform/Standard/Builder/IntLiteralTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\IntLiteralType;
7+
use TypeLang\Mapper\Platform\Standard\Type\IntLiteralType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Literal\IntLiteralNode;

src/Platform/Builder/IntRangeTypeBuilder.php renamed to src/Platform/Standard/Builder/IntRangeTypeBuilder.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\Hint\TemplateArgumentHintsNotSupportedException;
99
use TypeLang\Mapper\Exception\Definition\Template\InvalidTemplateArgumentException;
1010
use TypeLang\Mapper\Exception\Definition\Template\TooManyTemplateArgumentsException;
11-
use TypeLang\Mapper\Platform\Type\IntRangeType;
12-
use TypeLang\Mapper\Platform\Type\IntType;
11+
use TypeLang\Mapper\Platform\Standard\Type\IntRangeType;
12+
use TypeLang\Mapper\Platform\Standard\Type\IntType;
1313
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1414
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1515
use TypeLang\Parser\Node\Literal\IntLiteralNode;

src/Platform/Builder/ListTypeBuilder.php renamed to src/Platform/Standard/Builder/ListTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\Hint\TemplateArgumentHintsNotSupportedException;
99
use TypeLang\Mapper\Exception\Definition\Template\TooManyTemplateArgumentsException;
1010
use TypeLang\Mapper\Exception\Definition\TypeNotFoundException;
11-
use TypeLang\Mapper\Platform\Type\ListType;
11+
use TypeLang\Mapper\Platform\Standard\Type\ListType;
1212
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1313
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1414
use TypeLang\Parser\Node\Stmt\NamedTypeNode;

src/Platform/Builder/NamedTypeBuilder.php renamed to src/Platform/Standard/Builder/NamedTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\TypeInterface;
7+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
88
use TypeLang\Parser\Node\Stmt\NamedTypeNode;
99
use TypeLang\Parser\Node\Stmt\TypeStatement;
1010

src/Platform/Builder/NullTypeBuilder.php renamed to src/Platform/Standard/Builder/NullTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\TemplateArgumentsNotSupportedException;
9-
use TypeLang\Mapper\Platform\Type\NullType;
9+
use TypeLang\Mapper\Platform\Standard\Type\NullType;
1010
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1111
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1212
use TypeLang\Parser\Node\Literal\NullLiteralNode;

src/Platform/Builder/NullableTypeBuilder.php renamed to src/Platform/Standard/Builder/NullableTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\NullableType;
7+
use TypeLang\Mapper\Platform\Standard\Type\NullableType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Stmt\NullableTypeNode;

src/Platform/Builder/ObjectTypeBuilder.php renamed to src/Platform/Standard/Builder/ObjectTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\ObjectType;
7+
use TypeLang\Mapper\Platform\Standard\Type\ObjectType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/PsrContainerTypeBuilder.php renamed to src/Platform/Standard/Builder/PsrContainerTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use Psr\Container\ContainerInterface;
88
use TypeLang\Mapper\Exception\Definition\InternalTypeException;
9-
use TypeLang\Mapper\Platform\Type\TypeInterface;
9+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
1010
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1111
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1212
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/SimpleTypeBuilder.php renamed to src/Platform/Standard/Builder/SimpleTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\Shape\ShapeFieldsNotSupportedException;
88
use TypeLang\Mapper\Exception\Definition\Template\TemplateArgumentsNotSupportedException;
9-
use TypeLang\Mapper\Platform\Type\TypeInterface;
9+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
1010
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1111
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1212
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/TypeBuilderInterface.php renamed to src/Platform/Standard/Builder/TypeBuilderInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\DefinitionException;
8-
use TypeLang\Mapper\Platform\Type\TypeInterface;
8+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
99
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1010
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1111
use TypeLang\Parser\Node\Stmt\TypeStatement;

src/Platform/Builder/TypesListBuilder.php renamed to src/Platform/Standard/Builder/TypesListBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\ArrayType;
7+
use TypeLang\Mapper\Platform\Standard\Type\ArrayType;
88
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
99
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1010
use TypeLang\Parser\Node\Stmt\TypesListNode;

src/Platform/Builder/UnionTypeBuilder.php renamed to src/Platform/Standard/Builder/UnionTypeBuilder.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

7-
use TypeLang\Mapper\Platform\Type\NullableType;
8-
use TypeLang\Mapper\Platform\Type\TypeInterface;
9-
use TypeLang\Mapper\Platform\Type\UnionType;
7+
use TypeLang\Mapper\Platform\Standard\Type\NullableType;
8+
use TypeLang\Mapper\Platform\Standard\Type\TypeInterface;
9+
use TypeLang\Mapper\Platform\Standard\Type\UnionType;
1010
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1111
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1212
use TypeLang\Parser\Node\Literal\NullLiteralNode;

src/Platform/Builder/UnitEnumTypeBuilder.php renamed to src/Platform/Standard/Builder/UnitEnumTypeBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace TypeLang\Mapper\Platform\Builder;
5+
namespace TypeLang\Mapper\Platform\Standard\Builder;
66

77
use TypeLang\Mapper\Exception\Definition\InternalTypeException;
8-
use TypeLang\Mapper\Platform\Type\UnitEnumType;
8+
use TypeLang\Mapper\Platform\Standard\Type\UnitEnumType;
99
use TypeLang\Mapper\Runtime\Parser\TypeParserInterface;
1010
use TypeLang\Mapper\Runtime\Repository\TypeRepositoryInterface;
1111
use TypeLang\Parser\Node\Stmt\NamedTypeNode;

0 commit comments

Comments
 (0)