@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | /** |
| 94 | 94 | * isset returnType |
| 95 | 95 | * |
| 96 | - * @param scalar $index |
|
| 96 | + * @param integer $index |
|
| 97 | 97 | * @return boolean |
| 98 | 98 | */ |
| 99 | 99 | public function issetReturnType($index) |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * unset returnType |
| 106 | 106 | * |
| 107 | - * @param scalar $index |
|
| 107 | + * @param integer $index |
|
| 108 | 108 | * @return void |
| 109 | 109 | */ |
| 110 | 110 | public function unsetReturnType($index) |
@@ -52,6 +52,11 @@ discard block |
||
| 52 | 52 | return $cereal->serialize($this->getEdmx(), "xml"); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param string $name |
|
| 57 | + * @param TTextType $summary |
|
| 58 | + * @param TTextType $longDescription |
|
| 59 | + */ |
|
| 55 | 60 | public function addEntityType($name, $accessType = "Public", $summary = null, $longDescription = null) |
| 56 | 61 | { |
| 57 | 62 | $NewEntity = new TEntityTypeType(); |
@@ -116,6 +121,14 @@ discard block |
||
| 116 | 121 | return $NewProperty; |
| 117 | 122 | } |
| 118 | 123 | |
| 124 | + /** |
|
| 125 | + * @param string $name |
|
| 126 | + * @param string $type |
|
| 127 | + * @param string $defaultValue |
|
| 128 | + * @param string $storeGeneratedPattern |
|
| 129 | + * @param TTextType $summary |
|
| 130 | + * @param TTextType $longDescription |
|
| 131 | + */ |
|
| 119 | 132 | public function addPropertyToEntityType( |
| 120 | 133 | TEntityTypeType $entityType, |
| 121 | 134 | $name, |
@@ -145,6 +158,11 @@ discard block |
||
| 145 | 158 | return $NewProperty; |
| 146 | 159 | } |
| 147 | 160 | |
| 161 | + /** |
|
| 162 | + * @param string $principalMultiplicity |
|
| 163 | + * @param string $principalProperty |
|
| 164 | + * @param string $dependentMultiplicity |
|
| 165 | + */ |
|
| 148 | 166 | public function addNavigationPropertyToEntityType( |
| 149 | 167 | TEntityTypeType $principalType, |
| 150 | 168 | $principalMultiplicity, |