-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1667f93
commit c4049ac
Showing
13 changed files
with
394 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,112 @@ | ||
main: PBaszak\DedicatedMapper\Tests\assets\Dummy | ||
classes: | ||
PBaszak\DedicatedMapper\Tests\assets\Dummy: | ||
attributes: { } | ||
className: PBaszak\DedicatedMapper\Tests\assets\Dummy | ||
options: { } | ||
properties: | ||
id: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\NotBlank | ||
arguments: { } | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\NotBlank::__set_state(array(\n 'payload' => NULL,\n 'message' => 'This value should not be blank.',\n 'allowNull' => false,\n 'normalizer' => NULL,\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: id | ||
options: { } | ||
type: | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
name: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\Length | ||
arguments: | ||
min: 3 | ||
max: 255 | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\Length::__set_state(array(\n 'payload' => NULL,\n 'maxMessage' => 'This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.',\n 'minMessage' => 'This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.',\n 'exactMessage' => 'This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.',\n 'charsetMessage' => 'This value does not match the expected {{ charset }} charset.',\n 'max' => 255,\n 'min' => 3,\n 'charset' => 'UTF-8',\n 'normalizer' => NULL,\n 'countUnit' => 'codepoints',\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: name | ||
options: { } | ||
type: | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
description: | ||
attributes: { } | ||
name: description | ||
options: { } | ||
type: | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
_embedded: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\Valid | ||
arguments: { } | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\Valid::__set_state(array(\n 'payload' => NULL,\n 'traverse' => true,\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: _embedded | ||
options: { } | ||
type: | ||
types: | ||
- PBaszak\DedicatedMapper\Tests\assets\EmbeddedDTO | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: true | ||
collection: false | ||
simpleObject: false | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\ClassType | ||
reflection: | ||
attributes: { } | ||
className: PBaszak\DedicatedMapper\Tests\assets\Dummy | ||
file: | ||
path: /app/tests/assets/Dummy.php | ||
hash: 24ba2ede85a4491930ed05f368b3816c | ||
options: { } | ||
properties: | ||
id: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\NotBlank | ||
arguments: { } | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\NotBlank::__set_state(array(\n 'payload' => NULL,\n 'message' => 'This value should not be blank.',\n 'allowNull' => false,\n 'normalizer' => NULL,\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: id | ||
options: { } | ||
type: | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\Type | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
name: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\Length | ||
arguments: | ||
min: 3 | ||
max: 255 | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\Length::__set_state(array(\n 'payload' => NULL,\n 'maxMessage' => 'This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less.',\n 'minMessage' => 'This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.',\n 'exactMessage' => 'This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.',\n 'charsetMessage' => 'This value does not match the expected {{ charset }} charset.',\n 'max' => 255,\n 'min' => 3,\n 'charset' => 'UTF-8',\n 'normalizer' => NULL,\n 'countUnit' => 'codepoints',\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: name | ||
options: { } | ||
type: | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\Type | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
description: | ||
attributes: { } | ||
name: description | ||
options: { } | ||
type: | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\Type | ||
types: | ||
- string | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: false | ||
collection: false | ||
simpleObject: false | ||
_embedded: | ||
attributes: | ||
- | ||
class: Symfony\Component\Validator\Constraints\Valid | ||
arguments: { } | ||
instance: "\\Symfony\\Component\\Validator\\Constraints\\Valid::__set_state(array(\n 'payload' => NULL,\n 'traverse' => true,\n))" | ||
- | ||
class: Symfony\Component\Serializer\Annotation\Groups | ||
arguments: | ||
- test | ||
instance: "\\Symfony\\Component\\Serializer\\Annotation\\Groups::__set_state(array(\n 'groups' => \n array (\n 0 => 'test',\n ),\n))" | ||
name: _embedded | ||
options: { } | ||
type: | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\Type | ||
types: | ||
- \PBaszak\DedicatedMapper\Tests\assets\EmbeddedDTO | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: true | ||
collection: false | ||
simpleObject: false | ||
type: | ||
classType: PBaszak\DedicatedMapper\Reflection\Type\Type | ||
types: | ||
- \PBaszak\DedicatedMapper\Tests\assets\Dummy | ||
innerType: null | ||
nullable: false | ||
union: false | ||
intersection: false | ||
class: true | ||
collection: false | ||
simpleObject: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace PBaszak\DedicatedMapper\Reflection; | ||
|
||
interface ReflectionInterface | ||
{ | ||
public function toArray(): array; | ||
} |
Oops, something went wrong.