@@ -52,11 +52,17 @@ |
||
| 52 | 52 | return $form; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param Application $app |
|
| 57 | + */ |
|
| 55 | 58 | protected function getSecurity($app) |
| 56 | 59 | { |
| 57 | 60 | return $app['security.token_storage']; |
| 58 | 61 | } |
| 59 | 62 | |
| 63 | + /** |
|
| 64 | + * @param Application $app |
|
| 65 | + */ |
|
| 60 | 66 | protected function isTokenValid($app) |
| 61 | 67 | { |
| 62 | 68 | $csrf = $app['form.csrf_provider']; |
@@ -725,7 +725,7 @@ |
||
| 725 | 725 | * 成功 : trueを返却 |
| 726 | 726 | * 失敗 : \Doctrine\DBAL\DBALExceptionエラーが発生( 接続に失敗した場合 )、エラー画面を表示しdie() |
| 727 | 727 | * 備考 : app['debug']がtrueの際は処理を行わない |
| 728 | - * @return boolean true |
|
| 728 | + * @return null|boolean true |
|
| 729 | 729 | * |
| 730 | 730 | */ |
| 731 | 731 | protected function checkDatabaseConnection() |
@@ -428,6 +428,9 @@ discard block |
||
| 428 | 428 | /** |
| 429 | 429 | * 登録、更新時のエラー画面表示 |
| 430 | 430 | * |
| 431 | + * @param Application $app |
|
| 432 | + * @param boolean $not_product_class |
|
| 433 | + * @param \Symfony\Component\Form\Form $classForm |
|
| 431 | 434 | */ |
| 432 | 435 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 433 | 436 | { |
@@ -477,6 +480,7 @@ discard block |
||
| 477 | 480 | |
| 478 | 481 | /** |
| 479 | 482 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 483 | + * @param Application $app |
|
| 480 | 484 | */ |
| 481 | 485 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 482 | 486 | { |
@@ -564,6 +568,7 @@ discard block |
||
| 564 | 568 | * |
| 565 | 569 | * @param $productClassDest コピー先となる商品規格 |
| 566 | 570 | * @param $productClassOrig コピー元となる商品規格 |
| 571 | + * @param Application $app |
|
| 567 | 572 | */ |
| 568 | 573 | private function setDefualtProductClass($app, $productClassDest, $productClassOrig) { |
| 569 | 574 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -605,6 +610,7 @@ discard block |
||
| 605 | 610 | * 商品規格を登録 |
| 606 | 611 | * |
| 607 | 612 | * @param $ProductClasses 登録される商品規格 |
| 613 | + * @param Application $app |
|
| 608 | 614 | */ |
| 609 | 615 | private function insertProductClass($app, $Product, $ProductClasses) { |
| 610 | 616 | |