File tree Expand file tree Collapse file tree 2 files changed +0
-56
lines changed Expand file tree Collapse file tree 2 files changed +0
-56
lines changed Original file line number Diff line number Diff line change @@ -22,34 +22,6 @@ metadata:
22
22
23
23
.. configuration-block ::
24
24
25
- .. code-block :: php-annotations
26
-
27
- // src/Model/BookCollection.php
28
- namespace App\Model;
29
-
30
- use App\Model\Author;
31
- use App\Model\BookMetadata;
32
- use Doctrine\ORM\Mapping as ORM;
33
- use Symfony\Component\Validator\Constraints as Assert;
34
-
35
- /**
36
- * @Assert\DisableAutoMapping
37
- */
38
- class BookCollection
39
- {
40
- /**
41
- * @ORM\Column(nullable=false)
42
- */
43
- protected $name = '';
44
-
45
- /**
46
- * @ORM\ManyToOne(targetEntity=Author::class)
47
- */
48
- public Author $author;
49
-
50
- // ...
51
- }
52
-
53
25
.. code-block :: php-attributes
54
26
55
27
// src/Model/BookCollection.php
Original file line number Diff line number Diff line change @@ -22,34 +22,6 @@ metadata:
22
22
23
23
.. configuration-block ::
24
24
25
- .. code-block :: php-annotations
26
-
27
- // src/Model/BookCollection.php
28
- namespace App\Model;
29
-
30
- use App\Model\Author;
31
- use App\Model\BookMetadata;
32
- use Doctrine\ORM\Mapping as ORM;
33
- use Symfony\Component\Validator\Constraints as Assert;
34
-
35
- /**
36
- * @Assert\EnableAutoMapping
37
- */
38
- class BookCollection
39
- {
40
- /**
41
- * @ORM\Column(nullable=false)
42
- */
43
- protected $name = '';
44
-
45
- /**
46
- * @ORM\ManyToOne(targetEntity=Author::class)
47
- */
48
- public Author $author;
49
-
50
- // ...
51
- }
52
-
53
25
.. code-block :: php-attributes
54
26
55
27
// src/Model/BookCollection.php
You can’t perform that action at this time.
0 commit comments