Issues (406)

api/src/Entity/Page.php (43 issues)

1
<?php
2
3
namespace App\Entity;
4
5
use Ds\Component\Locale\Model\Type\Localizable;
0 ignored issues
show
The type Ds\Component\Locale\Model\Type\Localizable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Ds\Component\Model\Attribute\Accessor;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use Ds\Component\Model\Type\Deletable;
0 ignored issues
show
The type Ds\Component\Model\Type\Deletable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Ds\Component\Model\Type\Identifiable;
0 ignored issues
show
The type Ds\Component\Model\Type\Identifiable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
use Ds\Component\Model\Type\Ownable;
0 ignored issues
show
The type Ds\Component\Model\Type\Ownable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
use Ds\Component\Model\Type\Sluggable;
0 ignored issues
show
The type Ds\Component\Model\Type\Sluggable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Ds\Component\Model\Type\Uuidentifiable;
0 ignored issues
show
The type Ds\Component\Model\Type\Uuidentifiable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Ds\Component\Model\Type\Versionable;
0 ignored issues
show
The type Ds\Component\Model\Type\Versionable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Ds\Component\Tenant\Model\Attribute\Accessor as TenantAccessor;
0 ignored issues
show
The type Ds\Component\Tenant\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use Ds\Component\Tenant\Model\Type\Tenantable;
0 ignored issues
show
The type Ds\Component\Tenant\Model\Type\Tenantable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use Ds\Component\Translation\Model\Attribute\Accessor as TranslationAccessor;
0 ignored issues
show
The type Ds\Component\Translation\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
16
use Ds\Component\Translation\Model\Type\Translatable;
0 ignored issues
show
The type Ds\Component\Translation\Model\Type\Translatable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
17
use Knp\DoctrineBehaviors\Model as Behavior;
0 ignored issues
show
The type Knp\DoctrineBehaviors\Model was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
18
19
use ApiPlatform\Core\Annotation\ApiResource;
0 ignored issues
show
The type ApiPlatform\Core\Annotation\ApiResource was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
20
use ApiPlatform\Core\Annotation\ApiProperty;
0 ignored issues
show
The type ApiPlatform\Core\Annotation\ApiProperty was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
21
use Doctrine\ORM\Mapping as ORM;
0 ignored issues
show
The type Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
22
use Ds\Component\Locale\Model\Annotation\Locale;
0 ignored issues
show
The type Ds\Component\Locale\Model\Annotation\Locale was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
23
use Ds\Component\Translation\Model\Annotation\Translate;
0 ignored issues
show
The type Ds\Component\Translation...el\Annotation\Translate was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
24
use Symfony\Bridge\Doctrine\Validator\Constraints as ORMAssert;
0 ignored issues
show
The type Symfony\Bridge\Doctrine\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
25
use Symfony\Component\Serializer\Annotation as Serializer;
0 ignored issues
show
The type Symfony\Component\Serializer\Annotation was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
26
use Symfony\Component\Validator\Constraints as Assert;
0 ignored issues
show
The type Symfony\Component\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
27
28
/**
29
 * Class Page
30
 *
31
 * @ApiResource(
32
 *      attributes={
33
 *          "normalization_context"={
34
 *              "groups"={"page_output"}
35
 *          },
36
 *          "denormalization_context"={
37
 *              "groups"={"page_input"}
38
 *          },
39
 *          "filters"={
40
 *              "app.page.search",
41
 *              "app.page.search_translation",
42
 *              "app.page.date",
43
 *              "app.page.order"
44
 *          }
45
 *      }
46
 * )
47
 * @ORM\Entity(repositoryClass="App\Repository\PageRepository")
48
 * @ORM\Table(
49
 *     name="app_page",
50
 *     uniqueConstraints={
51
 *         @ORM\UniqueConstraint(columns={"slug", "tenant"})
52
 *     }
53
 * )
54
 * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
55
 * @ORMAssert\UniqueEntity(fields="uuid")
56
 * @ORMAssert\UniqueEntity(fields={"slug", "tenant"})
57
 */
58
class Page implements Identifiable, Uuidentifiable, Sluggable, Ownable, Translatable, Localizable, Deletable, Versionable, Tenantable
59
{
60
    use Behavior\Translatable\Translatable;
0 ignored issues
show
The type Knp\DoctrineBehaviors\Mo...anslatable\Translatable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
61
    use Behavior\Timestampable\Timestampable;
0 ignored issues
show
The type Knp\DoctrineBehaviors\Mo...stampable\Timestampable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
62
    use Behavior\SoftDeletable\SoftDeletable;
0 ignored issues
show
The type Knp\DoctrineBehaviors\Mo...Deletable\SoftDeletable was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
63
64
    use Accessor\Id;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Id was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
65
    use Accessor\Uuid;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Uuid was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
66
    use Accessor\Slug;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Slug was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
67
    use Accessor\Owner;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Owner was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
68
    use Accessor\OwnerUuid;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\OwnerUuid was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
69
    use TranslationAccessor\Title;
0 ignored issues
show
The type Ds\Component\Translation...ttribute\Accessor\Title was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
70
    use TranslationAccessor\Description;
0 ignored issues
show
The type Ds\Component\Translation...te\Accessor\Description was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
71
    use TranslationAccessor\Presentation;
0 ignored issues
show
The type Ds\Component\Translation...e\Accessor\Presentation was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
72
    use TranslationAccessor\Data;
0 ignored issues
show
The type Ds\Component\Translation...Attribute\Accessor\Data was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
73
    use Accessor\Deleted;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Deleted was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
74
    use Accessor\Version;
0 ignored issues
show
The type Ds\Component\Model\Attribute\Accessor\Version was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
75
    use TenantAccessor\Tenant;
0 ignored issues
show
The type Ds\Component\Tenant\Mode...tribute\Accessor\Tenant was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
76
77
    /**
78
     * @var integer
79
     * @ApiProperty(identifier=false, writable=false)
80
     * @Serializer\Groups({"page_output"})
81
     * @ORM\Id
82
     * @ORM\GeneratedValue(strategy="AUTO")
83
     * @ORM\Column(name="id", type="integer")
84
     */
85
    private $id;
0 ignored issues
show
The private property $id is not used, and could be removed.
Loading history...
86
87
    /**
88
     * @var string
89
     * @ApiProperty(identifier=true, writable=false)
90
     * @Serializer\Groups({"page_output"})
91
     * @ORM\Column(name="uuid", type="guid", unique=true)
92
     * @Assert\Uuid
93
     */
94
    private $uuid;
0 ignored issues
show
The private property $uuid is not used, and could be removed.
Loading history...
95
96
    /**
97
     * @var \DateTime
98
     * @ApiProperty(writable=false)
99
     * @Serializer\Groups({"page_output"})
100
     */
101
    protected $createdAt;
102
103
    /**
104
     * @var \DateTime
105
     * @ApiProperty(writable=false)
106
     * @Serializer\Groups({"page_output"})
107
     */
108
    protected $updatedAt;
109
110
    /**
111
     * @var \DateTime
112
     * @ApiProperty(writable=false)
113
     * @Serializer\Groups({"page_output"})
114
     */
115
    protected $deletedAt;
116
117
    /**
118
     * @var string
119
     * @ApiProperty
120
     * @Serializer\Groups({"page_output", "page_input"})
121
     * @ORM\Column(name="`owner`", type="string", length=255, nullable=true)
122
     * @Assert\NotBlank
123
     * @Assert\Length(min=1, max=255)
124
     */
125
    private $owner;
0 ignored issues
show
The private property $owner is not used, and could be removed.
Loading history...
126
127
    /**
128
     * @var string
129
     * @ApiProperty
130
     * @Serializer\Groups({"page_output", "page_input"})
131
     * @ORM\Column(name="owner_uuid", type="guid", nullable=true)
132
     * @Assert\NotBlank
133
     * @Assert\Uuid
134
     */
135
    private $ownerUuid;
0 ignored issues
show
The private property $ownerUuid is not used, and could be removed.
Loading history...
136
137
    /**
138
     * @var string
139
     * @ApiProperty
140
     * @Serializer\Groups({"page_output", "page_input"})
141
     * @ORM\Column(name="slug", type="string")
142
     * @Assert\NotBlank
143
     * @Assert\Length(min=1, max=255)
144
     */
145
    private $slug;
0 ignored issues
show
The private property $slug is not used, and could be removed.
Loading history...
146
147
    /**
148
     * @var array
149
     * @ApiProperty
150
     * @Serializer\Groups({"page_output", "page_input"})
151
     * @Assert\Type("array")
152
     * @Assert\NotBlank
153
     * @Assert\All({
154
     *     @Assert\NotBlank,
155
     *     @Assert\Length(min=1)
156
     * })
157
     * @Locale
158
     * @Translate
159
     */
160
    private $title;
161
162
    /**
163
     * @var array
164
     * @ApiProperty
165
     * @Serializer\Groups({"page_output", "page_input"})
166
     * @Assert\Type("array")
167
     * @Assert\NotBlank
168
     * @Assert\All({
169
     *     @Assert\NotBlank,
170
     *     @Assert\Length(min=1)
171
     * })
172
     * @Locale
173
     * @Translate
174
     */
175
    private $description;
176
177
    /**
178
     * @var array
179
     * @ApiProperty
180
     * @Serializer\Groups({"page_output", "page_input"})
181
     * @Assert\Type("array")
182
     * @Assert\NotBlank
183
     * @Assert\All({
184
     *     @Assert\NotBlank,
185
     *     @Assert\Length(min=1)
186
     * })
187
     * @Locale
188
     * @Translate
189
     */
190
    private $presentation;
191
192
    /**
193
     * @var array
194
     * @ApiProperty
195
     * @Serializer\Groups({"page_output", "page_input"})
196
     * @Assert\Type("array")
197
     * @Assert\NotBlank
198
     * @Locale
199
     * @Translate
200
     */
201
    private $data;
202
203
    /**
204
     * @var integer
205
     * @ApiProperty
206
     * @Serializer\Groups({"page_output", "page_input"})
207
     * @ORM\Column(name="version", type="integer")
208
     * @ORM\Version
209
     * @Assert\NotBlank
210
     * @Assert\Type("integer")
211
     */
212
    private $version;
0 ignored issues
show
The private property $version is not used, and could be removed.
Loading history...
213
214
    /**
215
     * @var string
216
     * @ApiProperty(writable=false)
217
     * @Serializer\Groups({"page_output"})
218
     * @ORM\Column(name="tenant", type="guid")
219
     * @Assert\Uuid
220
     */
221
    private $tenant;
0 ignored issues
show
The private property $tenant is not used, and could be removed.
Loading history...
222
223
    /**
224
     * Constructor
225
     */
226
    public function __construct()
227
    {
228
        $this->title = [];
229
        $this->description = [];
230
        $this->presentation = [];
231
        $this->data = [];
232
    }
233
}
234