| @@ 106-125 (lines=20) @@ | ||
| 103 | * @param int $modifiers |
|
| 104 | * @param bool $virtual |
|
| 105 | */ |
|
| 106 | public function __construct( |
|
| 107 | string $realName, |
|
| 108 | string $serializedName, |
|
| 109 | PhpType $type, |
|
| 110 | GetterStrategy $getterStrategy, |
|
| 111 | SetterStrategy $setterStrategy, |
|
| 112 | AnnotationSet $annotations, |
|
| 113 | int $modifiers, |
|
| 114 | bool $virtual |
|
| 115 | ) |
|
| 116 | { |
|
| 117 | $this->realName = $realName; |
|
| 118 | $this->serializedName = $serializedName; |
|
| 119 | $this->type = $type; |
|
| 120 | $this->getterStrategy = $getterStrategy; |
|
| 121 | $this->setterStrategy = $setterStrategy; |
|
| 122 | $this->annotations = $annotations; |
|
| 123 | $this->modifiers = $modifiers; |
|
| 124 | $this->virtual = $virtual; |
|
| 125 | } |
|
| 126 | ||
| 127 | /** |
|
| 128 | * Get the real name of the property |
|
| @@ 83-100 (lines=18) @@ | ||
| 80 | * @param AnnotationSet $annotations |
|
| 81 | * @param bool $virtual |
|
| 82 | */ |
|
| 83 | public function __construct( |
|
| 84 | string $name, |
|
| 85 | string $serializedName, |
|
| 86 | PhpType $type, |
|
| 87 | int $modifiers, |
|
| 88 | ClassMetadata $classMetadata, |
|
| 89 | AnnotationSet $annotations, |
|
| 90 | bool $virtual |
|
| 91 | ) |
|
| 92 | { |
|
| 93 | $this->name = $name; |
|
| 94 | $this->serializedName = $serializedName; |
|
| 95 | $this->type = $type; |
|
| 96 | $this->modifiers = $modifiers; |
|
| 97 | $this->classMetadata = $classMetadata; |
|
| 98 | $this->annotations = $annotations; |
|
| 99 | $this->virtual = $virtual; |
|
| 100 | } |
|
| 101 | ||
| 102 | /** |
|
| 103 | * Get the property name |
|