@@ -25,6 +25,11 @@ |
||
| 25 | 25 | $this->addTagged($container, 'pomm.model_layer', 'pomm.pooler.model_layer', 'getModelLayer'); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $tag |
|
| 30 | + * @param string $defaultServiceId |
|
| 31 | + * @param string $method |
|
| 32 | + */ |
|
| 28 | 33 | private function addTagged(DI\ContainerBuilder $container, $tag, $defaultServiceId, $method) |
| 29 | 34 | { |
| 30 | 35 | /** @var DI\Definition[] $definitions */ |
@@ -70,6 +70,9 @@ |
||
| 70 | 70 | $this->watch($name); |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | + /** |
|
| 74 | + * @param string $name |
|
| 75 | + */ |
|
| 73 | 76 | private function watch($name) |
| 74 | 77 | { |
| 75 | 78 | if ($this->stopwatch !== null) { |
@@ -63,6 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Get the sql type of $property |
| 65 | 65 | * |
| 66 | + * @param string $property |
|
| 66 | 67 | * @return string |
| 67 | 68 | */ |
| 68 | 69 | private function getSqlType(Session $session, $model_name, $property) |
@@ -76,6 +77,7 @@ discard block |
||
| 76 | 77 | /** |
| 77 | 78 | * Get the corresponding php type of a $sql_type type |
| 78 | 79 | * |
| 80 | + * @param string $sql_type |
|
| 79 | 81 | * @return string |
| 80 | 82 | */ |
| 81 | 83 | private function getPommType(Session $session, $sql_type) |
@@ -94,6 +96,7 @@ discard block |
||
| 94 | 96 | /** |
| 95 | 97 | * Create a new Type for the $pomm_type type |
| 96 | 98 | * |
| 99 | + * @param string $pomm_type |
|
| 97 | 100 | * @return Type |
| 98 | 101 | */ |
| 99 | 102 | private function createPropertyType($pomm_type) |