var/cache/dev/doctrine/orm/Proxies/__CG__AppEntitySejour.php line 9

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\App\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class Sejour extends \App\Entity\Sejour implements \Doctrine\ORM\Proxy\Proxy
  7. {
  8. /**
  9. * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
  10. * three parameters, being respectively the proxy object to be initialized, the method that triggered the
  11. * initialization process and an array of ordered parameters that were passed to that method.
  12. *
  13. * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
  14. */
  15. public $__initializer__;
  16. /**
  17. * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
  18. *
  19. * @see \Doctrine\Common\Proxy\Proxy::__setCloner
  20. */
  21. public $__cloner__;
  22. /**
  23. * @var boolean flag indicating if this object was already initialized
  24. *
  25. * @see \Doctrine\Persistence\Proxy::__isInitialized
  26. */
  27. public $__isInitialized__ = false;
  28. /**
  29. * @var array<string, null> properties to be lazy loaded, indexed by property name
  30. */
  31. public static $lazyPropertiesNames = array (
  32. );
  33. /**
  34. * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  35. *
  36. * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  37. */
  38. public static $lazyPropertiesDefaults = array (
  39. );
  40. public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
  41. {
  42. $this->__initializer__ = $initializer;
  43. $this->__cloner__ = $cloner;
  44. }
  45. /**
  46. *
  47. * @return array
  48. */
  49. public function __sleep()
  50. {
  51. if ($this->__isInitialized__) {
  52. return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'title', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'activites', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'updatedDate', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'hebergement', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourSessions', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isActive', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isBientot', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isObjectifZeroCo2', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'themes', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'countries', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'position', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'location', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'majorationTransports', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourEquipiers', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'ageMin', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'ageMax', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'saisons', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isSejourLocation', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isSejourCourt', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'notreAvis', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'tarifs', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'placesCount', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'medias', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'legacyId', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'intro', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'price', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'duree', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'encadrement', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'nombre', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'dureeInteger', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'tranport', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'transport', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'compris', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'noncompris', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'informationComplementaire', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'property', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'temoignages', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'url', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourType', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAges', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAge1', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAge2', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'videoLink', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'activitesFicheSejour', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'lienYoutube', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'whitelists'];
  53. }
  54. return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'title', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'activites', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'updatedDate', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'hebergement', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourSessions', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isActive', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isBientot', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isObjectifZeroCo2', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'themes', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'countries', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'position', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'location', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'majorationTransports', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourEquipiers', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'ageMin', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'ageMax', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'saisons', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isSejourLocation', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'isSejourCourt', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'notreAvis', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'tarifs', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'placesCount', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'medias', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'legacyId', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'intro', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'price', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'duree', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'encadrement', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'nombre', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'dureeInteger', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'tranport', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'transport', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'compris', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'noncompris', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'informationComplementaire', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'property', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'temoignages', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'url', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'sejourType', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAges', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAge1', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'trancheAge2', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'videoLink', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'activitesFicheSejour', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'lienYoutube', '' . "\0" . 'App\\Entity\\Sejour' . "\0" . 'whitelists'];
  55. }
  56. /**
  57. *
  58. */
  59. public function __wakeup()
  60. {
  61. if ( ! $this->__isInitialized__) {
  62. $this->__initializer__ = function (Sejour $proxy) {
  63. $proxy->__setInitializer(null);
  64. $proxy->__setCloner(null);
  65. $existingProperties = get_object_vars($proxy);
  66. foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  67. if ( ! array_key_exists($property, $existingProperties)) {
  68. $proxy->$property = $defaultValue;
  69. }
  70. }
  71. };
  72. }
  73. }
  74. /**
  75. *
  76. */
  77. public function __clone()
  78. {
  79. $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
  80. }
  81. /**
  82. * Forces initialization of the proxy
  83. */
  84. public function __load(): void
  85. {
  86. $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
  87. }
  88. /**
  89. * {@inheritDoc}
  90. * @internal generated method: use only when explicitly handling proxy specific loading logic
  91. */
  92. public function __isInitialized(): bool
  93. {
  94. return $this->__isInitialized__;
  95. }
  96. /**
  97. * {@inheritDoc}
  98. * @internal generated method: use only when explicitly handling proxy specific loading logic
  99. */
  100. public function __setInitialized($initialized): void
  101. {
  102. $this->__isInitialized__ = $initialized;
  103. }
  104. /**
  105. * {@inheritDoc}
  106. * @internal generated method: use only when explicitly handling proxy specific loading logic
  107. */
  108. public function __setInitializer(?\Closure $initializer = null): void
  109. {
  110. $this->__initializer__ = $initializer;
  111. }
  112. /**
  113. * {@inheritDoc}
  114. * @internal generated method: use only when explicitly handling proxy specific loading logic
  115. */
  116. public function __getInitializer(): ?\Closure
  117. {
  118. return $this->__initializer__;
  119. }
  120. /**
  121. * {@inheritDoc}
  122. * @internal generated method: use only when explicitly handling proxy specific loading logic
  123. */
  124. public function __setCloner(?\Closure $cloner = null): void
  125. {
  126. $this->__cloner__ = $cloner;
  127. }
  128. /**
  129. * {@inheritDoc}
  130. * @internal generated method: use only when explicitly handling proxy specific cloning logic
  131. */
  132. public function __getCloner(): ?\Closure
  133. {
  134. return $this->__cloner__;
  135. }
  136. /**
  137. * {@inheritDoc}
  138. * @internal generated method: use only when explicitly handling proxy specific loading logic
  139. * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  140. * @static
  141. */
  142. public function __getLazyProperties(): array
  143. {
  144. return self::$lazyPropertiesDefaults;
  145. }
  146. /**
  147. * {@inheritDoc}
  148. */
  149. public function getId(): ?int
  150. {
  151. if ($this->__isInitialized__ === false) {
  152. return (int) parent::getId();
  153. }
  154. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
  155. return parent::getId();
  156. }
  157. /**
  158. * {@inheritDoc}
  159. */
  160. public function getTitle(): ?string
  161. {
  162. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);
  163. return parent::getTitle();
  164. }
  165. /**
  166. * {@inheritDoc}
  167. */
  168. public function setTitle(string $title): \App\Entity\Sejour
  169. {
  170. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);
  171. return parent::setTitle($title);
  172. }
  173. /**
  174. * {@inheritDoc}
  175. */
  176. public function getDescription(): ?string
  177. {
  178. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
  179. return parent::getDescription();
  180. }
  181. /**
  182. * {@inheritDoc}
  183. */
  184. public function setDescription(string $description): \App\Entity\Sejour
  185. {
  186. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
  187. return parent::setDescription($description);
  188. }
  189. /**
  190. * {@inheritDoc}
  191. */
  192. public function getActivites(): ?string
  193. {
  194. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivites', []);
  195. return parent::getActivites();
  196. }
  197. /**
  198. * {@inheritDoc}
  199. */
  200. public function setActivites(string $activites): \App\Entity\Sejour
  201. {
  202. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivites', [$activites]);
  203. return parent::setActivites($activites);
  204. }
  205. /**
  206. * {@inheritDoc}
  207. */
  208. public function getHebergement(): ?string
  209. {
  210. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getHebergement', []);
  211. return parent::getHebergement();
  212. }
  213. /**
  214. * {@inheritDoc}
  215. */
  216. public function setHebergement(string $hebergement): \App\Entity\Sejour
  217. {
  218. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setHebergement', [$hebergement]);
  219. return parent::setHebergement($hebergement);
  220. }
  221. /**
  222. * {@inheritDoc}
  223. */
  224. public function getSejourSessions(): \Doctrine\Common\Collections\Collection
  225. {
  226. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSejourSessions', []);
  227. return parent::getSejourSessions();
  228. }
  229. /**
  230. * {@inheritDoc}
  231. */
  232. public function addSejourSession(\App\Entity\SejourSession $sejourSession): \App\Entity\Sejour
  233. {
  234. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addSejourSession', [$sejourSession]);
  235. return parent::addSejourSession($sejourSession);
  236. }
  237. /**
  238. * {@inheritDoc}
  239. */
  240. public function removeSejourSession(\App\Entity\SejourSession $sejourSession): \App\Entity\Sejour
  241. {
  242. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSejourSession', [$sejourSession]);
  243. return parent::removeSejourSession($sejourSession);
  244. }
  245. /**
  246. * {@inheritDoc}
  247. */
  248. public function getIsActive(): ?bool
  249. {
  250. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsActive', []);
  251. return parent::getIsActive();
  252. }
  253. /**
  254. * {@inheritDoc}
  255. */
  256. public function setIsActive(bool $isActive): \App\Entity\Sejour
  257. {
  258. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsActive', [$isActive]);
  259. return parent::setIsActive($isActive);
  260. }
  261. /**
  262. * {@inheritDoc}
  263. */
  264. public function getBientot(): ?bool
  265. {
  266. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBientot', []);
  267. return parent::getBientot();
  268. }
  269. /**
  270. * {@inheritDoc}
  271. */
  272. public function setBientot(bool $isBientot): \App\Entity\Sejour
  273. {
  274. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBientot', [$isBientot]);
  275. return parent::setBientot($isBientot);
  276. }
  277. /**
  278. * {@inheritDoc}
  279. */
  280. public function getIsObjectifZeroCo2(): ?bool
  281. {
  282. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsObjectifZeroCo2', []);
  283. return parent::getIsObjectifZeroCo2();
  284. }
  285. /**
  286. * {@inheritDoc}
  287. */
  288. public function setIsObjectifZeroCo2(bool $isObjectifZeroCo2): \App\Entity\Sejour
  289. {
  290. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsObjectifZeroCo2', [$isObjectifZeroCo2]);
  291. return parent::setIsObjectifZeroCo2($isObjectifZeroCo2);
  292. }
  293. /**
  294. * {@inheritDoc}
  295. */
  296. public function getThemes(): \Doctrine\Common\Collections\Collection
  297. {
  298. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getThemes', []);
  299. return parent::getThemes();
  300. }
  301. /**
  302. * {@inheritDoc}
  303. */
  304. public function addTheme(\App\Entity\Theme $theme): \App\Entity\Sejour
  305. {
  306. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTheme', [$theme]);
  307. return parent::addTheme($theme);
  308. }
  309. /**
  310. * {@inheritDoc}
  311. */
  312. public function addThemes(iterable $themes): \App\Entity\Sejour
  313. {
  314. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addThemes', [$themes]);
  315. return parent::addThemes($themes);
  316. }
  317. /**
  318. * {@inheritDoc}
  319. */
  320. public function removeTheme(\App\Entity\Theme $theme): \App\Entity\Sejour
  321. {
  322. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTheme', [$theme]);
  323. return parent::removeTheme($theme);
  324. }
  325. /**
  326. * {@inheritDoc}
  327. */
  328. public function getCountries(): \Doctrine\Common\Collections\Collection
  329. {
  330. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountries', []);
  331. return parent::getCountries();
  332. }
  333. /**
  334. * {@inheritDoc}
  335. */
  336. public function addCountry(\App\Entity\Country $country): \App\Entity\Sejour
  337. {
  338. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addCountry', [$country]);
  339. return parent::addCountry($country);
  340. }
  341. /**
  342. * {@inheritDoc}
  343. */
  344. public function addCountries(iterable $countries): \App\Entity\Sejour
  345. {
  346. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addCountries', [$countries]);
  347. return parent::addCountries($countries);
  348. }
  349. /**
  350. * {@inheritDoc}
  351. */
  352. public function removeCountry(\App\Entity\Country $country): \App\Entity\Sejour
  353. {
  354. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCountry', [$country]);
  355. return parent::removeCountry($country);
  356. }
  357. /**
  358. * {@inheritDoc}
  359. */
  360. public function getPosition(): ?int
  361. {
  362. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', []);
  363. return parent::getPosition();
  364. }
  365. /**
  366. * {@inheritDoc}
  367. */
  368. public function setPosition(?int $position): \App\Entity\Sejour
  369. {
  370. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', [$position]);
  371. return parent::setPosition($position);
  372. }
  373. /**
  374. * {@inheritDoc}
  375. */
  376. public function getLocation(): ?\App\Entity\Location
  377. {
  378. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocation', []);
  379. return parent::getLocation();
  380. }
  381. /**
  382. * {@inheritDoc}
  383. */
  384. public function setLocation(?\App\Entity\Location $location): \App\Entity\Sejour
  385. {
  386. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocation', [$location]);
  387. return parent::setLocation($location);
  388. }
  389. /**
  390. * {@inheritDoc}
  391. */
  392. public function getMajorationTransports(): \Doctrine\Common\Collections\Collection
  393. {
  394. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMajorationTransports', []);
  395. return parent::getMajorationTransports();
  396. }
  397. /**
  398. * {@inheritDoc}
  399. */
  400. public function addMajorationTransport(\App\Entity\MajorationTransport $majorationTransport): \App\Entity\Sejour
  401. {
  402. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addMajorationTransport', [$majorationTransport]);
  403. return parent::addMajorationTransport($majorationTransport);
  404. }
  405. /**
  406. * {@inheritDoc}
  407. */
  408. public function removeMajorationTransport(\App\Entity\MajorationTransport $majorationTransport): \App\Entity\Sejour
  409. {
  410. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMajorationTransport', [$majorationTransport]);
  411. return parent::removeMajorationTransport($majorationTransport);
  412. }
  413. /**
  414. * {@inheritDoc}
  415. */
  416. public function getSejourEquipiers(): \Doctrine\Common\Collections\Collection
  417. {
  418. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSejourEquipiers', []);
  419. return parent::getSejourEquipiers();
  420. }
  421. /**
  422. * {@inheritDoc}
  423. */
  424. public function addSejourEquipier(\App\Entity\SejourEquipier $sejourEquipier): \App\Entity\Sejour
  425. {
  426. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addSejourEquipier', [$sejourEquipier]);
  427. return parent::addSejourEquipier($sejourEquipier);
  428. }
  429. /**
  430. * {@inheritDoc}
  431. */
  432. public function removeSejourEquipier(\App\Entity\SejourEquipier $sejourEquipier): \App\Entity\Sejour
  433. {
  434. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSejourEquipier', [$sejourEquipier]);
  435. return parent::removeSejourEquipier($sejourEquipier);
  436. }
  437. /**
  438. * {@inheritDoc}
  439. */
  440. public function getAgeMin(): ?int
  441. {
  442. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgeMin', []);
  443. return parent::getAgeMin();
  444. }
  445. /**
  446. * {@inheritDoc}
  447. */
  448. public function setAgeMin(int $ageMin): \App\Entity\Sejour
  449. {
  450. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAgeMin', [$ageMin]);
  451. return parent::setAgeMin($ageMin);
  452. }
  453. /**
  454. * {@inheritDoc}
  455. */
  456. public function getAgeMax(): ?int
  457. {
  458. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgeMax', []);
  459. return parent::getAgeMax();
  460. }
  461. /**
  462. * {@inheritDoc}
  463. */
  464. public function setAgeMax(int $ageMax): \App\Entity\Sejour
  465. {
  466. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAgeMax', [$ageMax]);
  467. return parent::setAgeMax($ageMax);
  468. }
  469. /**
  470. * {@inheritDoc}
  471. */
  472. public function getSaisons(): \Doctrine\Common\Collections\Collection
  473. {
  474. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSaisons', []);
  475. return parent::getSaisons();
  476. }
  477. /**
  478. * {@inheritDoc}
  479. */
  480. public function addSaison(\App\Entity\Saison $saison): \App\Entity\Sejour
  481. {
  482. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addSaison', [$saison]);
  483. return parent::addSaison($saison);
  484. }
  485. /**
  486. * {@inheritDoc}
  487. */
  488. public function removeSaison(\App\Entity\Saison $saison): \App\Entity\Sejour
  489. {
  490. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSaison', [$saison]);
  491. return parent::removeSaison($saison);
  492. }
  493. /**
  494. * {@inheritDoc}
  495. */
  496. public function getIsSejourLocation(): ?bool
  497. {
  498. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsSejourLocation', []);
  499. return parent::getIsSejourLocation();
  500. }
  501. /**
  502. * {@inheritDoc}
  503. */
  504. public function setIsSejourLocation(?bool $isSejourLocation): \App\Entity\Sejour
  505. {
  506. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsSejourLocation', [$isSejourLocation]);
  507. return parent::setIsSejourLocation($isSejourLocation);
  508. }
  509. /**
  510. * {@inheritDoc}
  511. */
  512. public function getIsSejourCourt(): ?bool
  513. {
  514. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsSejourCourt', []);
  515. return parent::getIsSejourCourt();
  516. }
  517. /**
  518. * {@inheritDoc}
  519. */
  520. public function setIsSejourCourt(?bool $isSejourLocation): \App\Entity\Sejour
  521. {
  522. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsSejourCourt', [$isSejourLocation]);
  523. return parent::setIsSejourCourt($isSejourLocation);
  524. }
  525. /**
  526. * {@inheritDoc}
  527. */
  528. public function getNotreAvis(): ?string
  529. {
  530. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotreAvis', []);
  531. return parent::getNotreAvis();
  532. }
  533. /**
  534. * {@inheritDoc}
  535. */
  536. public function setNotreAvis(?string $notreAvis): \App\Entity\Sejour
  537. {
  538. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotreAvis', [$notreAvis]);
  539. return parent::setNotreAvis($notreAvis);
  540. }
  541. /**
  542. * {@inheritDoc}
  543. */
  544. public function getTarifs(): ?string
  545. {
  546. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTarifs', []);
  547. return parent::getTarifs();
  548. }
  549. /**
  550. * {@inheritDoc}
  551. */
  552. public function setTarifs(?string $tarifs): \App\Entity\Sejour
  553. {
  554. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTarifs', [$tarifs]);
  555. return parent::setTarifs($tarifs);
  556. }
  557. /**
  558. * {@inheritDoc}
  559. */
  560. public function getPlacesCount(): ?int
  561. {
  562. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlacesCount', []);
  563. return parent::getPlacesCount();
  564. }
  565. /**
  566. * {@inheritDoc}
  567. */
  568. public function setPlacesCount(int $placesCount): \App\Entity\Sejour
  569. {
  570. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlacesCount', [$placesCount]);
  571. return parent::setPlacesCount($placesCount);
  572. }
  573. /**
  574. * {@inheritDoc}
  575. */
  576. public function getFutureSejourSessions(): array
  577. {
  578. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFutureSejourSessions', []);
  579. return parent::getFutureSejourSessions();
  580. }
  581. /**
  582. * {@inheritDoc}
  583. */
  584. public function getMinFuturePrice(): float
  585. {
  586. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMinFuturePrice', []);
  587. return parent::getMinFuturePrice();
  588. }
  589. /**
  590. * {@inheritDoc}
  591. */
  592. public function getPeriode(): string
  593. {
  594. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPeriode', []);
  595. return parent::getPeriode();
  596. }
  597. /**
  598. * {@inheritDoc}
  599. */
  600. public function hasFutureSejourSessions(): bool
  601. {
  602. $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasFutureSejourSessions', []);
  603. return parent::hasFutureSejourSessions();
  604. }
  605. /**
  606. * {@inheritDoc}
  607. */
  608. public function getMedias(): \Doctrine\Common\Collections\Collection
  609. {
  610. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedias', []);
  611. return parent::getMedias();
  612. }
  613. /**
  614. * {@inheritDoc}
  615. */
  616. public function addMedia(\App\Entity\Media $media): \App\Entity\Sejour
  617. {
  618. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addMedia', [$media]);
  619. return parent::addMedia($media);
  620. }
  621. /**
  622. * {@inheritDoc}
  623. */
  624. public function removeMedia(\App\Entity\Media $media): \App\Entity\Sejour
  625. {
  626. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMedia', [$media]);
  627. return parent::removeMedia($media);
  628. }
  629. /**
  630. * {@inheritDoc}
  631. */
  632. public function getLegacyId(): ?int
  633. {
  634. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLegacyId', []);
  635. return parent::getLegacyId();
  636. }
  637. /**
  638. * {@inheritDoc}
  639. */
  640. public function setLegacyId(?int $legacyId): \App\Entity\Sejour
  641. {
  642. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLegacyId', [$legacyId]);
  643. return parent::setLegacyId($legacyId);
  644. }
  645. /**
  646. * {@inheritDoc}
  647. */
  648. public function getIntro(): ?string
  649. {
  650. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIntro', []);
  651. return parent::getIntro();
  652. }
  653. /**
  654. * {@inheritDoc}
  655. */
  656. public function setIntro(?string $intro): \App\Entity\Sejour
  657. {
  658. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIntro', [$intro]);
  659. return parent::setIntro($intro);
  660. }
  661. /**
  662. * {@inheritDoc}
  663. */
  664. public function getPrice(): ?float
  665. {
  666. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice', []);
  667. return parent::getPrice();
  668. }
  669. /**
  670. * {@inheritDoc}
  671. */
  672. public function setPrice(?float $price): \App\Entity\Sejour
  673. {
  674. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice', [$price]);
  675. return parent::setPrice($price);
  676. }
  677. /**
  678. * {@inheritDoc}
  679. */
  680. public function getDuree(): ?string
  681. {
  682. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDuree', []);
  683. return parent::getDuree();
  684. }
  685. /**
  686. * {@inheritDoc}
  687. */
  688. public function setDuree(?string $duree): \App\Entity\Sejour
  689. {
  690. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDuree', [$duree]);
  691. return parent::setDuree($duree);
  692. }
  693. /**
  694. * {@inheritDoc}
  695. */
  696. public function getEncadrement(): ?string
  697. {
  698. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEncadrement', []);
  699. return parent::getEncadrement();
  700. }
  701. /**
  702. * {@inheritDoc}
  703. */
  704. public function setEncadrement(?string $encadrement): \App\Entity\Sejour
  705. {
  706. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEncadrement', [$encadrement]);
  707. return parent::setEncadrement($encadrement);
  708. }
  709. /**
  710. * {@inheritDoc}
  711. */
  712. public function getNombre(): ?string
  713. {
  714. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNombre', []);
  715. return parent::getNombre();
  716. }
  717. /**
  718. * {@inheritDoc}
  719. */
  720. public function setNombre(string $nombre): \App\Entity\Sejour
  721. {
  722. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNombre', [$nombre]);
  723. return parent::setNombre($nombre);
  724. }
  725. /**
  726. * {@inheritDoc}
  727. */
  728. public function getDureeInteger(): ?int
  729. {
  730. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDureeInteger', []);
  731. return parent::getDureeInteger();
  732. }
  733. /**
  734. * {@inheritDoc}
  735. */
  736. public function setDureeInteger(?int $dureeString): \App\Entity\Sejour
  737. {
  738. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDureeInteger', [$dureeString]);
  739. return parent::setDureeInteger($dureeString);
  740. }
  741. /**
  742. * {@inheritDoc}
  743. */
  744. public function getTranport(): ?string
  745. {
  746. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranport', []);
  747. return parent::getTranport();
  748. }
  749. /**
  750. * {@inheritDoc}
  751. */
  752. public function setTranport(?string $tranport): \App\Entity\Sejour
  753. {
  754. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranport', [$tranport]);
  755. return parent::setTranport($tranport);
  756. }
  757. /**
  758. * {@inheritDoc}
  759. */
  760. public function getTransport(): ?string
  761. {
  762. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransport', []);
  763. return parent::getTransport();
  764. }
  765. /**
  766. * {@inheritDoc}
  767. */
  768. public function setTransport(?string $transport): \App\Entity\Sejour
  769. {
  770. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTransport', [$transport]);
  771. return parent::setTransport($transport);
  772. }
  773. /**
  774. * {@inheritDoc}
  775. */
  776. public function getCompris(): ?string
  777. {
  778. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompris', []);
  779. return parent::getCompris();
  780. }
  781. /**
  782. * {@inheritDoc}
  783. */
  784. public function setCompris(?string $compris): \App\Entity\Sejour
  785. {
  786. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompris', [$compris]);
  787. return parent::setCompris($compris);
  788. }
  789. /**
  790. * {@inheritDoc}
  791. */
  792. public function getNoncompris(): ?string
  793. {
  794. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNoncompris', []);
  795. return parent::getNoncompris();
  796. }
  797. /**
  798. * {@inheritDoc}
  799. */
  800. public function setNoncompris(string $noncompris): \App\Entity\Sejour
  801. {
  802. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNoncompris', [$noncompris]);
  803. return parent::setNoncompris($noncompris);
  804. }
  805. /**
  806. * {@inheritDoc}
  807. */
  808. public function getInformationComplementaire(): ?string
  809. {
  810. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInformationComplementaire', []);
  811. return parent::getInformationComplementaire();
  812. }
  813. /**
  814. * {@inheritDoc}
  815. */
  816. public function setInformationComplementaire(string $noncompris): \App\Entity\Sejour
  817. {
  818. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setInformationComplementaire', [$noncompris]);
  819. return parent::setInformationComplementaire($noncompris);
  820. }
  821. /**
  822. * {@inheritDoc}
  823. */
  824. public function getProperty(): \Doctrine\Common\Collections\Collection
  825. {
  826. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProperty', []);
  827. return parent::getProperty();
  828. }
  829. /**
  830. * {@inheritDoc}
  831. */
  832. public function addProperty(\App\Entity\Property $property): \App\Entity\Sejour
  833. {
  834. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addProperty', [$property]);
  835. return parent::addProperty($property);
  836. }
  837. /**
  838. * {@inheritDoc}
  839. */
  840. public function removeProperty(\App\Entity\Property $property): \App\Entity\Sejour
  841. {
  842. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProperty', [$property]);
  843. return parent::removeProperty($property);
  844. }
  845. /**
  846. * {@inheritDoc}
  847. */
  848. public function getTemoignages(): \Doctrine\Common\Collections\Collection
  849. {
  850. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTemoignages', []);
  851. return parent::getTemoignages();
  852. }
  853. /**
  854. * {@inheritDoc}
  855. */
  856. public function addTemoignage(\App\Entity\Temoignage $temoignage): \App\Entity\Sejour
  857. {
  858. $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTemoignage', [$temoignage]);
  859. return parent::addTemoignage($temoignage);
  860. }
  861. /**
  862. * {@inheritDoc}
  863. */
  864. public function removeTemoignage(\App\Entity\Temoignage $temoignage): \App\Entity\Sejour
  865. {
  866. $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTemoignage', [$temoignage]);
  867. return parent::removeTemoignage($temoignage);
  868. }
  869. /**
  870. * {@inheritDoc}
  871. */
  872. public function getSejourType(): ?string
  873. {
  874. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSejourType', []);
  875. return parent::getSejourType();
  876. }
  877. /**
  878. * {@inheritDoc}
  879. */
  880. public function setSejourType(?string $url): \App\Entity\Sejour
  881. {
  882. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSejourType', [$url]);
  883. return parent::setSejourType($url);
  884. }
  885. /**
  886. * {@inheritDoc}
  887. */
  888. public function getUrl(): ?string
  889. {
  890. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrl', []);
  891. return parent::getUrl();
  892. }
  893. /**
  894. * {@inheritDoc}
  895. */
  896. public function setUrl(?string $url): \App\Entity\Sejour
  897. {
  898. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUrl', [$url]);
  899. return parent::setUrl($url);
  900. }
  901. /**
  902. * {@inheritDoc}
  903. */
  904. public function getAvailableplaces(): int
  905. {
  906. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvailableplaces', []);
  907. return parent::getAvailableplaces();
  908. }
  909. /**
  910. * {@inheritDoc}
  911. */
  912. public function getMinPrice(): int
  913. {
  914. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMinPrice', []);
  915. return parent::getMinPrice();
  916. }
  917. /**
  918. * {@inheritDoc}
  919. */
  920. public function getTrancheAge1(): ?\App\Entity\TrancheAge
  921. {
  922. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTrancheAge1', []);
  923. return parent::getTrancheAge1();
  924. }
  925. /**
  926. * {@inheritDoc}
  927. */
  928. public function setTrancheAge1(?\App\Entity\TrancheAge $trancheAge1): \App\Entity\Sejour
  929. {
  930. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTrancheAge1', [$trancheAge1]);
  931. return parent::setTrancheAge1($trancheAge1);
  932. }
  933. /**
  934. * {@inheritDoc}
  935. */
  936. public function getTrancheAge2(): ?\App\Entity\TrancheAge
  937. {
  938. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTrancheAge2', []);
  939. return parent::getTrancheAge2();
  940. }
  941. /**
  942. * {@inheritDoc}
  943. */
  944. public function setTrancheAge2(?\App\Entity\TrancheAge $trancheAge2): \App\Entity\Sejour
  945. {
  946. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTrancheAge2', [$trancheAge2]);
  947. return parent::setTrancheAge2($trancheAge2);
  948. }
  949. /**
  950. * {@inheritDoc}
  951. */
  952. public function getVideoLink(): ?string
  953. {
  954. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVideoLink', []);
  955. return parent::getVideoLink();
  956. }
  957. /**
  958. * {@inheritDoc}
  959. */
  960. public function setVideoLink(?string $videoLink): \App\Entity\Sejour
  961. {
  962. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVideoLink', [$videoLink]);
  963. return parent::setVideoLink($videoLink);
  964. }
  965. /**
  966. * {@inheritDoc}
  967. */
  968. public function getActivitesFicheSejour(): ?string
  969. {
  970. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivitesFicheSejour', []);
  971. return parent::getActivitesFicheSejour();
  972. }
  973. /**
  974. * {@inheritDoc}
  975. */
  976. public function setActivitesFicheSejour(?string $videoLink): \App\Entity\Sejour
  977. {
  978. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivitesFicheSejour', [$videoLink]);
  979. return parent::setActivitesFicheSejour($videoLink);
  980. }
  981. /**
  982. * {@inheritDoc}
  983. */
  984. public function getLienYoutube(): ?string
  985. {
  986. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLienYoutube', []);
  987. return parent::getLienYoutube();
  988. }
  989. /**
  990. * {@inheritDoc}
  991. */
  992. public function setLienYoutube(?string $lienYoutube): \App\Entity\Sejour
  993. {
  994. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLienYoutube', [$lienYoutube]);
  995. return parent::setLienYoutube($lienYoutube);
  996. }
  997. /**
  998. * {@inheritDoc}
  999. */
  1000. public function isFutureComplete(): bool
  1001. {
  1002. $this->__initializer__ && $this->__initializer__->__invoke($this, 'isFutureComplete', []);
  1003. return parent::isFutureComplete();
  1004. }
  1005. /**
  1006. * {@inheritDoc}
  1007. */
  1008. public function isInWhitelist(?\App\Entity\User $user = NULL): ?\App\Entity\SejourWhitelist
  1009. {
  1010. $this->__initializer__ && $this->__initializer__->__invoke($this, 'isInWhitelist', [$user]);
  1011. return parent::isInWhitelist($user);
  1012. }
  1013. /**
  1014. * {@inheritDoc}
  1015. */
  1016. public function getUpdatedDate(): ?\DateTimeInterface
  1017. {
  1018. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedDate', []);
  1019. return parent::getUpdatedDate();
  1020. }
  1021. /**
  1022. * {@inheritDoc}
  1023. */
  1024. public function setUpdatedDate(\DateTimeInterface $updatedDate): \App\Entity\Sejour
  1025. {
  1026. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedDate', [$updatedDate]);
  1027. return parent::setUpdatedDate($updatedDate);
  1028. }
  1029. }