[BUGFIX] Do not treat all classes as entities in ClassSchema
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Reflection / Fixture / DummyClassWithAllTypesOfProperties.php
1 <?php
2 namespace TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 use TYPO3\CMS\Extbase\Annotation as Extbase;
18 use TYPO3\CMS\Extbase\Annotation\ORM\Transient;
19 use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
20 use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
21
22 /**
23 * Fixture class with getters and setters
24 */
25 class DummyClassWithAllTypesOfProperties extends AbstractEntity
26 {
27 public $publicProperty;
28
29 protected $protectedProperty;
30
31 private $privateProperty;
32
33 public static $publicStaticProperty;
34
35 protected static $protectedStaticProperty;
36
37 private static $privateStaticProperty;
38
39 public $publicPropertyWithDefaultValue = 'foo';
40
41 /**
42 * @license
43 * @copyright
44 * @author
45 * @version
46 */
47 public $propertyWithIgnoredTags;
48
49 /**
50 * @Extbase\Inject
51 * @var DummyClassWithAllTypesOfProperties
52 */
53 public $propertyWithInjectAnnotation;
54
55 /**
56 * @Transient
57 */
58 public $propertyWithTransientAnnotation;
59
60 /**
61 * @var DummyClassWithAllTypesOfProperties
62 * @Extbase\ORM\Cascade("remove")
63 */
64 public $propertyWithCascadeAnnotation;
65
66 /**
67 * @Extbase\ORM\Cascade("remove")
68 */
69 public $propertyWithCascadeAnnotationWithoutVarAnnotation;
70
71 /**
72 * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyClassWithAllTypesOfProperties>
73 */
74 public $propertyWithObjectStorageAnnotation;
75
76 /**
77 * @var ObjectStorage<DummyClassWithAllTypesOfProperties>
78 */
79 public $propertyWithObjectStorageAnnotationWithoutFQCN;
80 }