@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $name |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function setName($name); |
| 25 | 26 | |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | * @param $subdomain |
| 145 | 145 | * @param $name |
| 146 | 146 | * @param $disabled |
| 147 | - * @param $organization |
|
| 147 | + * @param OrganizationInterface $organization |
|
| 148 | 148 | * |
| 149 | 149 | * @return TenantInterface |
| 150 | 150 | */ |
@@ -46,6 +46,9 @@ discard block |
||
| 46 | 46 | $manager->flush(); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param string $env |
|
| 51 | + */ |
|
| 49 | 52 | public function loadRoutes($env, ObjectManager $manager) |
| 50 | 53 | { |
| 51 | 54 | $routes = [ |
@@ -95,6 +98,10 @@ discard block |
||
| 95 | 98 | $manager->flush(); |
| 96 | 99 | } |
| 97 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $env |
|
| 103 | + * @param ObjectManager $manager |
|
| 104 | + */ |
|
| 98 | 105 | public function setRoutesContent($env, $manager) |
| 99 | 106 | { |
| 100 | 107 | $routes = [ |
@@ -118,6 +125,10 @@ discard block |
||
| 118 | 125 | } |
| 119 | 126 | } |
| 120 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $env |
|
| 130 | + * @param ObjectManager $manager |
|
| 131 | + */ |
|
| 121 | 132 | public function loadArticles($env, $manager) |
| 122 | 133 | { |
| 123 | 134 | $articles = [ |
@@ -189,7 +189,7 @@ |
||
| 189 | 189 | * @throws NotFoundHttpException |
| 190 | 190 | * @throws \Exception |
| 191 | 191 | * |
| 192 | - * @return \Symfony\Component\HttpFoundation\Response |
|
| 192 | + * @return SingleResourceResponse |
|
| 193 | 193 | */ |
| 194 | 194 | public function linkUnlinkToContainerAction(Request $request, $id) |
| 195 | 195 | { |
@@ -108,6 +108,9 @@ |
||
| 108 | 108 | return $this->renderer; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | + /** |
|
| 112 | + * @return \SWP\Component\TemplatesSystem\Gimme\Model\ContainerInterface |
|
| 113 | + */ |
|
| 111 | 114 | public function createNewContainer($name, array $parameters = []) |
| 112 | 115 | { |
| 113 | 116 | $containerEntity = $this->serviceContainer->get('swp.factory.container')->create(); |