@@ 117-120 (lines=4) @@ | ||
114 | $NewProperty->setName($name); |
|
115 | $NewProperty->setType($type); |
|
116 | $NewProperty->setNullable($nullable); |
|
117 | if (null != $summary && null != $longDescription) { |
|
118 | $documentation = $this->generateDocumentation($summary, $longDescription); |
|
119 | $NewProperty->addToDocumentation($documentation); |
|
120 | } |
|
121 | if (null != $defaultValue) { |
|
122 | $NewProperty->setDefaultValue($defaultValue); |
|
123 | } |
|
@@ 145-148 (lines=4) @@ | ||
142 | $NewProperty->setType($type); |
|
143 | $NewProperty->setStoreGeneratedPattern($storeGeneratedPattern); |
|
144 | $NewProperty->setNullable($nullable); |
|
145 | if (null != $summary && null != $longDescription) { |
|
146 | $documentation = $this->generateDocumentation($summary, $longDescription); |
|
147 | $NewProperty->addToDocumentation($documentation); |
|
148 | } |
|
149 | if (null != $defaultValue) { |
|
150 | $NewProperty->setDefaultValue($defaultValue); |
|
151 | } |