File tree
Expand file treeCollapse file tree3 files changed
+7
-8
lines changed Expand file treeCollapse file tree3 files changed
+7
-8
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -354,7 +354,7 @@ object.
|
354 | 354 |
|
355 | 355 | .. code-block:: php-annotations
|
356 | 356 |
|
357 |
| -// AppBundle/Entity/Task.php |
| 357 | +// src/AppBundle/Entity/Task.php |
358 | 358 | use Symfony\Component\Validator\Constraints as Assert;
|
359 | 359 |
|
360 | 360 | class Task
|
@@ -373,7 +373,7 @@ object.
|
373 | 373 |
|
374 | 374 | .. code-block:: yaml
|
375 | 375 |
|
376 |
| -# AppBundle/Resources/config/validation.yml |
| 376 | +# src/AppBundle/Resources/config/validation.yml |
377 | 377 | AppBundle\Entity\Task:
|
378 | 378 | properties:
|
379 | 379 | task:
|
@@ -384,7 +384,7 @@ object.
|
384 | 384 |
|
385 | 385 | .. code-block:: xml
|
386 | 386 |
|
387 |
| -<!-- AppBundle/Resources/config/validation.xml --> |
| 387 | +<!-- src/AppBundle/Resources/config/validation.xml --> |
388 | 388 | <?xml version="1.0" encoding="UTF-8"?>
|
389 | 389 | <constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
|
390 | 390 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
@@ -404,7 +404,7 @@ object.
|
404 | 404 |
|
405 | 405 | .. code-block:: php
|
406 | 406 |
|
407 |
| -// AppBundle/Entity/Task.php |
| 407 | +// src/AppBundle/Entity/Task.php |
408 | 408 | use Symfony\Component\Validator\Mapping\ClassMetadata;
|
409 | 409 | use Symfony\Component\Validator\Constraints\NotBlank;
|
410 | 410 | use Symfony\Component\Validator\Constraints\Type;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -532,7 +532,7 @@ class to have at least 3 characters.
|
532 | 532 |
|
533 | 533 | .. code-block:: php-annotations
|
534 | 534 |
|
535 |
| -// AppBundle/Entity/Author.php |
| 535 | +// src/AppBundle/Entity/Author.php |
536 | 536 |
|
537 | 537 | // ...
|
538 | 538 | use Symfony\Component\Validator\Constraints as Assert;
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -32,7 +32,7 @@ your user table:
|
32 | 32 |
|
33 | 33 | .. code-block:: php-annotations
|
34 | 34 |
|
35 |
| -// AppBundle/Entity/Author.php |
| 35 | +// src/AppBundle/Entity/Author.php |
36 | 36 | namespace AppBundle\Entity;
|
37 | 37 |
|
38 | 38 | use Symfony\Component\Validator\Constraints as Assert;
|
@@ -88,8 +88,7 @@ your user table:
|
88 | 88 |
|
89 | 89 | .. code-block:: php
|
90 | 90 |
|
91 |
| -
|
92 |
| -// AppBundle/Entity/User.php |
| 91 | +// src/AppBundle/Entity/User.php |
93 | 92 | namespace AppBundle\Entity;
|
94 | 93 |
|
95 | 94 | use Symfony\Component\Validator\Constraints as Assert;
|
|
You can’t perform that action at this time.
0 commit comments