This commit is contained in:
Kouril42 2023-01-31 22:43:31 +01:00
commit 9b5b36c5eb
13 changed files with 300 additions and 158 deletions

4
.gitignore vendored
View File

@ -13,3 +13,7 @@
.settings/ .settings/
.buildpath .buildpath
.project .project
# Secret keys
config/secrets/prod/prod.decrypt.private.php
config/secrets/dev/

301
composer.lock generated
View File

@ -632,30 +632,29 @@
}, },
{ {
"name": "doctrine/event-manager", "name": "doctrine/event-manager",
"version": "1.2.0", "version": "2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/event-manager.git", "url": "https://github.com/doctrine/event-manager.git",
"reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", "url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32",
"reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"doctrine/deprecations": "^0.5.3 || ^1", "php": "^8.1"
"php": "^7.1 || ^8.0"
}, },
"conflict": { "conflict": {
"doctrine/common": "<2.9" "doctrine/common": "<2.9"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^9 || ^10", "doctrine/coding-standard": "^10",
"phpstan/phpstan": "~1.4.10 || ^1.8.8", "phpstan/phpstan": "^1.8.8",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.24" "vimeo/psalm": "^4.28"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -704,7 +703,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/event-manager/issues", "issues": "https://github.com/doctrine/event-manager/issues",
"source": "https://github.com/doctrine/event-manager/tree/1.2.0" "source": "https://github.com/doctrine/event-manager/tree/2.0.0"
}, },
"funding": [ "funding": [
{ {
@ -720,7 +719,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-12T20:51:15+00:00" "time": "2022-10-12T20:59:15+00:00"
}, },
{ {
"name": "doctrine/inflector", "name": "doctrine/inflector",
@ -963,23 +962,23 @@
}, },
{ {
"name": "doctrine/migrations", "name": "doctrine/migrations",
"version": "3.5.3", "version": "3.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/migrations.git", "url": "https://github.com/doctrine/migrations.git",
"reference": "01f89a1082b6971ba53ba76f95741fc8ad4a5fd2" "reference": "4b1e2b6ba71d21d0c5be22ed03b6fc954d20b204"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/migrations/zipball/01f89a1082b6971ba53ba76f95741fc8ad4a5fd2", "url": "https://api.github.com/repos/doctrine/migrations/zipball/4b1e2b6ba71d21d0c5be22ed03b6fc954d20b204",
"reference": "01f89a1082b6971ba53ba76f95741fc8ad4a5fd2", "reference": "4b1e2b6ba71d21d0c5be22ed03b6fc954d20b204",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer-runtime-api": "^2", "composer-runtime-api": "^2",
"doctrine/dbal": "^3.5.1", "doctrine/dbal": "^3.5.1",
"doctrine/deprecations": "^0.5.3 || ^1", "doctrine/deprecations": "^0.5.3 || ^1",
"doctrine/event-manager": "^1.0", "doctrine/event-manager": "^1.2 || ^2.0",
"friendsofphp/proxy-manager-lts": "^1.0", "friendsofphp/proxy-manager-lts": "^1.0",
"php": "^7.4 || ^8.0", "php": "^7.4 || ^8.0",
"psr/log": "^1.1.3 || ^2 || ^3", "psr/log": "^1.1.3 || ^2 || ^3",
@ -1045,7 +1044,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/migrations/issues", "issues": "https://github.com/doctrine/migrations/issues",
"source": "https://github.com/doctrine/migrations/tree/3.5.3" "source": "https://github.com/doctrine/migrations/tree/3.5.5"
}, },
"funding": [ "funding": [
{ {
@ -1061,7 +1060,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-01-11T07:13:35+00:00" "time": "2023-01-18T12:44:30+00:00"
}, },
{ {
"name": "doctrine/orm", "name": "doctrine/orm",
@ -1166,16 +1165,16 @@
}, },
{ {
"name": "doctrine/persistence", "name": "doctrine/persistence",
"version": "3.1.2", "version": "3.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/persistence.git", "url": "https://github.com/doctrine/persistence.git",
"reference": "b44d128311af55275dbed6a4558ca59a2b9f9387" "reference": "920da294b4bb0bb527f2a91ed60c18213435880f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/persistence/zipball/b44d128311af55275dbed6a4558ca59a2b9f9387", "url": "https://api.github.com/repos/doctrine/persistence/zipball/920da294b4bb0bb527f2a91ed60c18213435880f",
"reference": "b44d128311af55275dbed6a4558ca59a2b9f9387", "reference": "920da294b4bb0bb527f2a91ed60c18213435880f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1244,7 +1243,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/persistence/issues", "issues": "https://github.com/doctrine/persistence/issues",
"source": "https://github.com/doctrine/persistence/tree/3.1.2" "source": "https://github.com/doctrine/persistence/tree/3.1.3"
}, },
"funding": [ "funding": [
{ {
@ -1260,7 +1259,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-19T13:58:18+00:00" "time": "2023-01-19T13:39:42+00:00"
}, },
{ {
"name": "doctrine/sql-formatter", "name": "doctrine/sql-formatter",
@ -1316,16 +1315,16 @@
}, },
{ {
"name": "friendsofphp/proxy-manager-lts", "name": "friendsofphp/proxy-manager-lts",
"version": "v1.0.13", "version": "v1.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/FriendsOfPHP/proxy-manager-lts.git", "url": "https://github.com/FriendsOfPHP/proxy-manager-lts.git",
"reference": "88354616f4cf4f6620910fd035e282173ba453e8" "reference": "a527c9d9d5348e012bd24482d83a5cd643bcbc9e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/88354616f4cf4f6620910fd035e282173ba453e8", "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/a527c9d9d5348e012bd24482d83a5cd643bcbc9e",
"reference": "88354616f4cf4f6620910fd035e282173ba453e8", "reference": "a527c9d9d5348e012bd24482d83a5cd643bcbc9e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1382,7 +1381,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/FriendsOfPHP/proxy-manager-lts/issues", "issues": "https://github.com/FriendsOfPHP/proxy-manager-lts/issues",
"source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.13" "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.14"
}, },
"funding": [ "funding": [
{ {
@ -1394,7 +1393,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-17T19:48:16+00:00" "time": "2023-01-30T10:40:19+00:00"
}, },
{ {
"name": "laminas/laminas-code", "name": "laminas/laminas-code",
@ -1663,16 +1662,16 @@
}, },
{ {
"name": "symfony/cache", "name": "symfony/cache",
"version": "v6.2.4", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/cache.git", "url": "https://github.com/symfony/cache.git",
"reference": "ddd1a70bfdf4ed19facad0db689c7bca979d322e" "reference": "cfe2d7c87d55b04cbde8fe3c137d9dd66e5d83f4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/ddd1a70bfdf4ed19facad0db689c7bca979d322e", "url": "https://api.github.com/repos/symfony/cache/zipball/cfe2d7c87d55b04cbde8fe3c137d9dd66e5d83f4",
"reference": "ddd1a70bfdf4ed19facad0db689c7bca979d322e", "reference": "cfe2d7c87d55b04cbde8fe3c137d9dd66e5d83f4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1739,7 +1738,7 @@
"psr6" "psr6"
], ],
"support": { "support": {
"source": "https://github.com/symfony/cache/tree/v6.2.4" "source": "https://github.com/symfony/cache/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -1755,7 +1754,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-29T16:29:13+00:00" "time": "2023-01-20T17:45:48+00:00"
}, },
{ {
"name": "symfony/cache-contracts", "name": "symfony/cache-contracts",
@ -1838,16 +1837,16 @@
}, },
{ {
"name": "symfony/config", "name": "symfony/config",
"version": "v6.2.0", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/config.git", "url": "https://github.com/symfony/config.git",
"reference": "ebf27792246165a2a0b6b69ec9c620cac8c5a2f0" "reference": "f31b3c78a3650157188a240695e688d6a182aa91"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/ebf27792246165a2a0b6b69ec9c620cac8c5a2f0", "url": "https://api.github.com/repos/symfony/config/zipball/f31b3c78a3650157188a240695e688d6a182aa91",
"reference": "ebf27792246165a2a0b6b69ec9c620cac8c5a2f0", "reference": "f31b3c78a3650157188a240695e688d6a182aa91",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1895,7 +1894,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/config/tree/v6.2.0" "source": "https://github.com/symfony/config/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -1911,20 +1910,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-02T09:08:04+00:00" "time": "2023-01-09T04:38:22+00:00"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "0f579613e771dba2dbb8211c382342a641f5da06" "reference": "3e294254f2191762c1d137aed4b94e966965e985"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/0f579613e771dba2dbb8211c382342a641f5da06", "url": "https://api.github.com/repos/symfony/console/zipball/3e294254f2191762c1d137aed4b94e966965e985",
"reference": "0f579613e771dba2dbb8211c382342a641f5da06", "reference": "3e294254f2191762c1d137aed4b94e966965e985",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1991,7 +1990,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v6.2.3" "source": "https://github.com/symfony/console/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2007,20 +2006,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-28T14:26:22+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/dependency-injection", "name": "symfony/dependency-injection",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dependency-injection.git", "url": "https://github.com/symfony/dependency-injection.git",
"reference": "d10309b75035ce8aae33a377375dac04cab941d6" "reference": "6abd5658d0f7fea98f882a911bfdb8795d189509"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/d10309b75035ce8aae33a377375dac04cab941d6", "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6abd5658d0f7fea98f882a911bfdb8795d189509",
"reference": "d10309b75035ce8aae33a377375dac04cab941d6", "reference": "6abd5658d0f7fea98f882a911bfdb8795d189509",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2078,7 +2077,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application", "description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/dependency-injection/tree/v6.2.3" "source": "https://github.com/symfony/dependency-injection/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2094,7 +2093,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-28T14:43:49+00:00" "time": "2023-01-23T15:50:11+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
@ -2165,16 +2164,16 @@
}, },
{ {
"name": "symfony/doctrine-bridge", "name": "symfony/doctrine-bridge",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/doctrine-bridge.git", "url": "https://github.com/symfony/doctrine-bridge.git",
"reference": "f0f0d9d81a172a334c29f536500475c741a5d4c0" "reference": "3d42ae343f74a67991d9da7a42eb21e4d9c3d070"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/f0f0d9d81a172a334c29f536500475c741a5d4c0", "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/3d42ae343f74a67991d9da7a42eb21e4d9c3d070",
"reference": "f0f0d9d81a172a334c29f536500475c741a5d4c0", "reference": "3d42ae343f74a67991d9da7a42eb21e4d9c3d070",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2260,7 +2259,7 @@
"description": "Provides integration for Doctrine with various Symfony components", "description": "Provides integration for Doctrine with various Symfony components",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/doctrine-bridge/tree/v6.2.3" "source": "https://github.com/symfony/doctrine-bridge/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2276,20 +2275,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-20T16:41:15+00:00" "time": "2023-01-10T18:53:53+00:00"
}, },
{ {
"name": "symfony/dotenv", "name": "symfony/dotenv",
"version": "v6.2.0", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dotenv.git", "url": "https://github.com/symfony/dotenv.git",
"reference": "bdc3766f31a0944cadfcdf52170ad3fb80b1540b" "reference": "1a24cb3ab1dbb8834a75c9d46e427e84baae29bc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/dotenv/zipball/bdc3766f31a0944cadfcdf52170ad3fb80b1540b", "url": "https://api.github.com/repos/symfony/dotenv/zipball/1a24cb3ab1dbb8834a75c9d46e427e84baae29bc",
"reference": "bdc3766f31a0944cadfcdf52170ad3fb80b1540b", "reference": "1a24cb3ab1dbb8834a75c9d46e427e84baae29bc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2334,7 +2333,7 @@
"environment" "environment"
], ],
"support": { "support": {
"source": "https://github.com/symfony/dotenv/tree/v6.2.0" "source": "https://github.com/symfony/dotenv/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2350,20 +2349,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-09-30T13:41:10+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/error-handler.git", "url": "https://github.com/symfony/error-handler.git",
"reference": "0926124c95d220499e2baf0fb465772af3a4eddb" "reference": "0092696af0be8e6124b042fbe2890ca1788d7b28"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/0926124c95d220499e2baf0fb465772af3a4eddb", "url": "https://api.github.com/repos/symfony/error-handler/zipball/0092696af0be8e6124b042fbe2890ca1788d7b28",
"reference": "0926124c95d220499e2baf0fb465772af3a4eddb", "reference": "0092696af0be8e6124b042fbe2890ca1788d7b28",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2405,7 +2404,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code", "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/error-handler/tree/v6.2.3" "source": "https://github.com/symfony/error-handler/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2421,20 +2420,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-19T14:33:49+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v6.2.2", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "3ffeb31139b49bf6ef0bc09d1db95eac053388d1" "reference": "f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3ffeb31139b49bf6ef0bc09d1db95eac053388d1", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68",
"reference": "3ffeb31139b49bf6ef0bc09d1db95eac053388d1", "reference": "f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2488,7 +2487,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v6.2.2" "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2504,7 +2503,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-14T16:11:27+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/event-dispatcher-contracts", "name": "symfony/event-dispatcher-contracts",
@ -2587,16 +2586,16 @@
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
"version": "v6.2.0", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/filesystem.git", "url": "https://github.com/symfony/filesystem.git",
"reference": "50b2523c874605cf3d4acf7a9e2b30b6a440a016" "reference": "e59e8a4006afd7f5654786a83b4fcb8da98f4593"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/50b2523c874605cf3d4acf7a9e2b30b6a440a016", "url": "https://api.github.com/repos/symfony/filesystem/zipball/e59e8a4006afd7f5654786a83b4fcb8da98f4593",
"reference": "50b2523c874605cf3d4acf7a9e2b30b6a440a016", "reference": "e59e8a4006afd7f5654786a83b4fcb8da98f4593",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2630,7 +2629,7 @@
"description": "Provides basic utilities for the filesystem", "description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/filesystem/tree/v6.2.0" "source": "https://github.com/symfony/filesystem/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2646,20 +2645,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-20T13:01:27+00:00" "time": "2023-01-20T17:45:48+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "81eefbddfde282ee33b437ba5e13d7753211ae8e" "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/81eefbddfde282ee33b437ba5e13d7753211ae8e", "url": "https://api.github.com/repos/symfony/finder/zipball/c90dc446976a612e3312a97a6ec0069ab0c2099c",
"reference": "81eefbddfde282ee33b437ba5e13d7753211ae8e", "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2694,7 +2693,7 @@
"description": "Finds files and directories via an intuitive fluent interface", "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/finder/tree/v6.2.3" "source": "https://github.com/symfony/finder/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2710,7 +2709,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-22T17:55:15+00:00" "time": "2023-01-20T17:45:48+00:00"
}, },
{ {
"name": "symfony/flex", "name": "symfony/flex",
@ -2779,16 +2778,16 @@
}, },
{ {
"name": "symfony/framework-bundle", "name": "symfony/framework-bundle",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/framework-bundle.git", "url": "https://github.com/symfony/framework-bundle.git",
"reference": "c26ddbb2c2d8e5eaebbb1297b833be0967725fbc" "reference": "3f6ea83b11b24271bb86deb82f915fb08621b964"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/framework-bundle/zipball/c26ddbb2c2d8e5eaebbb1297b833be0967725fbc", "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/3f6ea83b11b24271bb86deb82f915fb08621b964",
"reference": "c26ddbb2c2d8e5eaebbb1297b833be0967725fbc", "reference": "3f6ea83b11b24271bb86deb82f915fb08621b964",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2910,7 +2909,7 @@
"description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/framework-bundle/tree/v6.2.3" "source": "https://github.com/symfony/framework-bundle/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -2926,20 +2925,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-20T16:41:15+00:00" "time": "2023-01-11T11:53:46+00:00"
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v6.2.2", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "ddf4dd35de1623e7c02013523e6c2137b67b636f" "reference": "9d081ead9d3432e2e8002178d14c4c9dd4b8ffbf"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ddf4dd35de1623e7c02013523e6c2137b67b636f", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9d081ead9d3432e2e8002178d14c4c9dd4b8ffbf",
"reference": "ddf4dd35de1623e7c02013523e6c2137b67b636f", "reference": "9d081ead9d3432e2e8002178d14c4c9dd4b8ffbf",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2988,7 +2987,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.2.2" "source": "https://github.com/symfony/http-foundation/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3004,20 +3003,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-14T16:11:27+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v6.2.4", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "74f2e638ec3fa0315443bd85fab7fc8066b77f83" "reference": "f68aaa11eee6b21c99bce0f3d98815924888fe62"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/74f2e638ec3fa0315443bd85fab7fc8066b77f83", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f68aaa11eee6b21c99bce0f3d98815924888fe62",
"reference": "74f2e638ec3fa0315443bd85fab7fc8066b77f83", "reference": "f68aaa11eee6b21c99bce0f3d98815924888fe62",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3099,7 +3098,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v6.2.4" "source": "https://github.com/symfony/http-kernel/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3115,7 +3114,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-29T19:05:08+00:00" "time": "2023-01-24T15:33:24+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-grapheme", "name": "symfony/polyfill-intl-grapheme",
@ -3367,16 +3366,16 @@
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "35fec764f3e2c8c08fb340d275c84bc78ca7e0c9" "reference": "589bd742d5d03c192c8521911680fe88f61712fe"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/35fec764f3e2c8c08fb340d275c84bc78ca7e0c9", "url": "https://api.github.com/repos/symfony/routing/zipball/589bd742d5d03c192c8521911680fe88f61712fe",
"reference": "35fec764f3e2c8c08fb340d275c84bc78ca7e0c9", "reference": "589bd742d5d03c192c8521911680fe88f61712fe",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3435,7 +3434,7 @@
"url" "url"
], ],
"support": { "support": {
"source": "https://github.com/symfony/routing/tree/v6.2.3" "source": "https://github.com/symfony/routing/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3451,20 +3450,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-20T16:41:15+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/runtime", "name": "symfony/runtime",
"version": "v6.2.0", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/runtime.git", "url": "https://github.com/symfony/runtime.git",
"reference": "45a63a5885f92741c8def9cbd81c925e6b5b891d" "reference": "bf27ed7b4317982b06f8cc37255b8a315d5a9686"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/runtime/zipball/45a63a5885f92741c8def9cbd81c925e6b5b891d", "url": "https://api.github.com/repos/symfony/runtime/zipball/bf27ed7b4317982b06f8cc37255b8a315d5a9686",
"reference": "45a63a5885f92741c8def9cbd81c925e6b5b891d", "reference": "bf27ed7b4317982b06f8cc37255b8a315d5a9686",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3511,7 +3510,7 @@
"description": "Enables decoupling PHP applications from global state", "description": "Enables decoupling PHP applications from global state",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/runtime/tree/v6.2.0" "source": "https://github.com/symfony/runtime/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3527,7 +3526,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-02T09:08:04+00:00" "time": "2023-01-20T17:45:48+00:00"
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
@ -3616,16 +3615,16 @@
}, },
{ {
"name": "symfony/stopwatch", "name": "symfony/stopwatch",
"version": "v6.2.0", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/stopwatch.git", "url": "https://github.com/symfony/stopwatch.git",
"reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7" "reference": "00b6ac156aacffc53487c930e0ab14587a6607f6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/266636bb8f3fbdccc302491df7b3a1b9a8c238a7", "url": "https://api.github.com/repos/symfony/stopwatch/zipball/00b6ac156aacffc53487c930e0ab14587a6607f6",
"reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7", "reference": "00b6ac156aacffc53487c930e0ab14587a6607f6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3658,7 +3657,7 @@
"description": "Provides a way to profile code", "description": "Provides a way to profile code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/stopwatch/tree/v6.2.0" "source": "https://github.com/symfony/stopwatch/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3674,20 +3673,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-09-28T16:00:52+00:00" "time": "2023-01-01T08:36:55+00:00"
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v6.2.2", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "863219fd713fa41cbcd285a79723f94672faff4d" "reference": "b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/863219fd713fa41cbcd285a79723f94672faff4d", "url": "https://api.github.com/repos/symfony/string/zipball/b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0",
"reference": "863219fd713fa41cbcd285a79723f94672faff4d", "reference": "b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3744,7 +3743,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v6.2.2" "source": "https://github.com/symfony/string/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3760,20 +3759,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-14T16:11:27+00:00" "time": "2023-01-01T08:38:09+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0" "reference": "44b7b81749fd20c1bdf4946c041050e22bc8da27"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/44b7b81749fd20c1bdf4946c041050e22bc8da27",
"reference": "fdbadd4803bc3c96ef89238c9c9e2ebe424ec2e0", "reference": "44b7b81749fd20c1bdf4946c041050e22bc8da27",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3832,7 +3831,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.2.3" "source": "https://github.com/symfony/var-dumper/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3848,20 +3847,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-22T17:55:15+00:00" "time": "2023-01-20T17:45:48+00:00"
}, },
{ {
"name": "symfony/var-exporter", "name": "symfony/var-exporter",
"version": "v6.2.3", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-exporter.git", "url": "https://github.com/symfony/var-exporter.git",
"reference": "d055d12b20b42e407e607460e7552a1fe6d27f08" "reference": "108f9c6451eea8e04a7fb83bbacb5b812ef30e35"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/d055d12b20b42e407e607460e7552a1fe6d27f08", "url": "https://api.github.com/repos/symfony/var-exporter/zipball/108f9c6451eea8e04a7fb83bbacb5b812ef30e35",
"reference": "d055d12b20b42e407e607460e7552a1fe6d27f08", "reference": "108f9c6451eea8e04a7fb83bbacb5b812ef30e35",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3906,7 +3905,7 @@
"serialize" "serialize"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-exporter/tree/v6.2.3" "source": "https://github.com/symfony/var-exporter/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3922,20 +3921,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-22T17:55:15+00:00" "time": "2023-01-13T08:35:57+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v6.2.2", "version": "v6.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3" "reference": "2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", "url": "https://api.github.com/repos/symfony/yaml/zipball/2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19",
"reference": "6ed8243aa5f2cb5a57009f826b5e7fb3c4200cf3", "reference": "2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3980,7 +3979,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v6.2.2" "source": "https://github.com/symfony/yaml/tree/v6.2.5"
}, },
"funding": [ "funding": [
{ {
@ -3996,7 +3995,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-14T16:11:27+00:00" "time": "2023-01-10T18:53:53+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [

View File

@ -5,7 +5,7 @@ doctrine:
host: '127.0.0.1' host: '127.0.0.1'
port: 5432 port: 5432
user: 'encartes' user: 'encartes'
password: 'oiseau_bleu' password: '%env(resolve:DATABASE_PASSWORD)%'
server_version: '15' server_version: '15'
charset: 'utf8' charset: 'utf8'
orm: orm:

View File

@ -0,0 +1,3 @@
<?php // prod.DATABASE_PASSWORD.b77cc3 on Tue, 24 Jan 2023 17:14:56 +0000
return "\xB1\x8F\xAD0\xA671\xC1a\xDCo\x7B\xCE\xAD\xA0\x3F\xB4\x09S\x28\xB0.\xFB8\xBE\xAC\x2B\xB4\xA2\xA2\xF0\x21\xE0k\xBB\xAA\xE1\x3A\xC0\xB2\x82\x0D\x06\x1FO\xC8\x40X\x2FK\x21\xCEf\x1BHi\xD1\xD2\x28w\x12d\x8A\xDARq\xC9\x04Xq\xC2\xAEc\x07\x0BX\x8A\xE3\xF8\xDA\xE4\x80\xC2v\x07\xF0.\x8A\xBA\xC3\x27\x1BW\xB3\xB6\x25j\xAB\xB6\xE2\xC9\xF0\xEF\xAD";

View File

@ -0,0 +1,3 @@
<?php // prod.encrypt.public on Tue, 24 Jan 2023 17:06:42 +0000
return "\x00\x14Z\xB71\xD8\xB5\x8E\xB6-\x97\xABH\x13\x3A\xF1\x824qA\xAC\x0E\x12\xB6\xD4\xD0\xEDLB\xD9_q";

View File

@ -0,0 +1,5 @@
<?php
return [
'DATABASE_PASSWORD' => null,
];

View File

@ -0,0 +1,37 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230131135243 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SEQUENCE place_name_id_seq INCREMENT BY 1 MINVALUE 1 START 1');
$this->addSql('CREATE TABLE place_name (id INT NOT NULL, room_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
$this->addSql('CREATE INDEX IDX_94960EEA54177093 ON place_name (room_id)');
$this->addSql('ALTER TABLE place_name ADD CONSTRAINT FK_94960EEA54177093 FOREIGN KEY (room_id) REFERENCES place (id) NOT DEFERRABLE INITIALLY IMMEDIATE');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('DROP SEQUENCE place_name_id_seq CASCADE');
$this->addSql('ALTER TABLE place_name DROP CONSTRAINT FK_94960EEA54177093');
$this->addSql('DROP TABLE place_name');
}
}

View File

@ -3,6 +3,7 @@
namespace App\Entity; namespace App\Entity;
use App\Repository\CorridorRepository; use App\Repository\CorridorRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CorridorRepository::class)] #[ORM\Entity(repositoryClass: CorridorRepository::class)]
class Corridor extends Place class Corridor extends Place

View File

@ -16,7 +16,7 @@ class Cylinder
#[ORM\Column(type: "float")] #[ORM\Column(type: "float")]
private $height; private $height;
#[ORM\OneToOne(targetEntity: PlaneSurface::class, cascade: {"persist", "remove"})] #[ORM\OneToOne(targetEntity: PlaneSurface::class, cascade: ["persist", "remove"])]
#[ORM\JoinColumn(nullable: false)] #[ORM\JoinColumn(nullable: false)]
private $cylinderbase; private $cylinderbase;

View File

@ -8,10 +8,10 @@ use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PlaceRepository::class)] #[ORM\Entity(repositoryClass: PlaceRepository::class)]
#[ORM\MappedSuperclass]
#[ORM\InheritanceType("JOINED")] #[ORM\InheritanceType("JOINED")]
#[ORM\DiscriminatorColumn(name: "type", type: "string")] #[ORM\DiscriminatorColumn(name: "type", type: "string")]
#[ORM\DiscriminatorMap(room: "Room", corridor: "Corridor")] #[ORM\DiscriminatorMap(["room" => Room::class, "corridor" => Corridor::class])]
class Place class Place
{ {
#[ORM\Id] #[ORM\Id]
@ -24,6 +24,9 @@ class Place
#[ORM\ManyToMany(targetEntity: Place::class, mappedBy: "connection")] #[ORM\ManyToMany(targetEntity: Place::class, mappedBy: "connection")]
private $connectedPlaces; private $connectedPlaces;
#[ORM\OneToMany(targetEntity: PlaceName::class, mappedBy: "place")]
private $names;
public function __construct() public function __construct()
{ {

87
src/Entity/PlaceName.php Normal file
View File

@ -0,0 +1,87 @@
<?php
namespace App\Entity;
use App\Repository\PolyhedronRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PlaceNamenRepository::class)]
class PlaceName
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: "integer")]
private $id;
#[ORM\Column(type: "string")]
private $name;
#[ORM\ManyToOne(targetEntity: Place::class, inversedBy: "names")]
private $room;
public function __construct()
{
$this->polyhedronface = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection<int, PlaneSurface>
*/
public function getPolyhedronface(): Collection
{
return $this->polyhedronface;
}
public function addPolyhedronface(PlaneSurface $polyhedronface): self
{
if (!$this->polyhedronface->contains($polyhedronface)) {
$this->polyhedronface[] = $polyhedronface;
$polyhedronface->setPolyhedron($this);
}
return $this;
}
public function removePolyhedronface(PlaneSurface $polyhedronface): self
{
if ($this->polyhedronface->removeElement($polyhedronface)) {
// set the owning side to null (unless already changed)
if ($polyhedronface->getPolyhedron() === $this) {
$polyhedronface->setPolyhedron(null);
}
}
return $this;
}
public function getRoom(): ?Room
{
return $this->room;
}
public function setRoom(?Room $room): self
{
$this->room = $room;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
}

View File

@ -23,7 +23,7 @@ class Room extends Place
#[ORM\OneToMany(targetEntity: Cylinder::class, mappedBy: "room")] #[ORM\OneToMany(targetEntity: Cylinder::class, mappedBy: "room")]
private $CylinderRepresentation; private $CylinderRepresentation;
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();

View File

@ -13,10 +13,10 @@ class ThreeDObjectFile
#[ORM\Column(type: "integer")] #[ORM\Column(type: "integer")]
private $id; private $id;
#[@ORM\Column(type: "string", length: 255)] #[ORM\Column(type: "string", length: 255)]
private $filename; private $filename;
#[@ORM\ManyToOne(targetEntity: Room::class, inversedBy: "ComplexRepresentation")] #[ORM\ManyToOne(targetEntity: Room::class, inversedBy: "ComplexRepresentation")]
private $room; private $room;
public function getId(): ?int public function getId(): ?int