You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most fields can be customized with the following methods, when it makes sense. Read [the Doctrine Annotations documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#column)
144
+
Most fields can be customized with the following methods, when it makes sense. Read [the Doctrine Annotations documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/annotations-reference.html)
145
145
for an analogue implementation.
146
146
147
147
|`Field` method | Description |
@@ -167,7 +167,7 @@ for an analogue implementation.
167
167
Doctrine can be configured to use automatically generated values on the database side.
168
168
This is usually used to configure auto-incrementing integers for primary columns.
169
169
170
-
This is an advanced feature, so [reading the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#identifiers-primary-keys)
170
+
This is an advanced feature, so [reading the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html#identifiers-primary-keys)
171
171
is *very recommended*.
172
172
173
173
You can access the `LaravelDoctrine\Fluent\Builders\GeneratedValue` object only through a `Field` object,
Allow some methods to be _even lazier_ than the lazy loading mode.
469
469
470
-
See [the doctrine Documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/tutorials/extra-lazy-associations.html)
470
+
See [the doctrine Documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/tutorials/extra-lazy-associations.html)
471
471
for a complete explanation and usage examples.
472
472
473
473
```php
@@ -480,7 +480,7 @@ Doctrine can be configured to cascade operations that happen to the current enti
480
480
is useful for encapsulating knowledge of change inside one entity without forcing the user to traverse all modified
481
481
relations.
482
482
483
-
See [the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#transitive-persistence-cascade-operations)
483
+
See [the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-associations.html#transitive-persistence-cascade-operations)
484
484
for a complete usage guide.
485
485
486
486
In the following examples, assume the `$relation` variable holds the result of calling one of the relation methods
@@ -500,7 +500,7 @@ described above, e.g.: `$relation = $builder->hasMany(Theory::class)`. This is *
500
500
In `one-to-*` and `many-to-many` associations, sometimes removing an entity from a relation means the removed entity
501
501
should be removed from the system. This can be acomplished by the `orphan removal` feature.
502
502
503
-
See an example in [the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#orphan-removal).
503
+
See an example in [the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-associations.html#orphan-removal).
A family of entities can be mapped to the database as an inheritance structure. Currently
543
543
Doctrine supports 3 types of inheritance: *Mapped super classes*, *single table* and *joined table inheritance*
544
544
545
-
For more information on usage and trade-offs, [see the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html).
545
+
For more information on usage and trade-offs, [see the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/inheritance-mapping.html).
Doctrine allows hooking into its lifecycle via [Events](https://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/events.html). Fluent provides a bridge for these hooks.
649
+
Doctrine allows hooking into its lifecycle via [Events](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/events.html). Fluent provides a bridge for these hooks.
650
650
651
-
A list of all Lifecycle Events can be found in the [doctrine documentation](https://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/events.html#lifecycle-events).
651
+
A list of all Lifecycle Events can be found in the [doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/events.html#lifecycle-events).
652
652
653
653
### Listening to Lifecycle Events
654
654
@@ -664,7 +664,7 @@ will call `TestEventListener@onFlush`
664
664
665
665
will call `TestEventListener@methodToCall`
666
666
667
-
The following documentation is copied from [Doctrine's documentation on lifecycle events](https://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/events.html#reference-events-lifecycle-events).
667
+
The following documentation is copied from [Doctrine's documentation on lifecycle events](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/events.html#reference-events-lifecycle-events).
@@ -826,12 +826,12 @@ If you are mapping custom repositories to a DI Container and resolving them by i
826
826
$builder->entity()->readOnly();
827
827
```
828
828
829
-
Mark this entity as *read only*. See [the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#entity).
829
+
Mark this entity as *read only*. See [the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/annotations-reference.html#entity).
Mark this entity as cacheable, using the `Second Level Cache` functionality.
836
836
837
-
Read more about second level cache usage and regions [in the Doctrine documentation](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/second-level-cache.html).
837
+
Read more about second level cache usage and regions [in the Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/second-level-cache.html).
Copy file name to clipboardExpand all lines: orm/config-file.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -295,7 +295,7 @@ and follow the [installation instructions.](http://www.laraveldoctrine.org/docs/
295
295
296
296
Custom types are classes that allow Doctrine to marshal data to/from the data source in a custom format.
297
297
298
-
To register a custom type simple add the class to this list. [For more information on custom types refer to the Doctrine documentation.](https://doctrine-orm.readthedocs.org/en/latest/cookbook/custom-mapping-types.html)
298
+
To register a custom type simple add the class to this list. [For more information on custom types refer to the Doctrine documentation.](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/cookbook/custom-mapping-types.html)
Copy file name to clipboardExpand all lines: orm/meta-data-configuration.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The format of the `paths` config value in `doctrine.php` config differs sligthly
21
21
],
22
22
```
23
23
24
-
Check the Doctrine documentation for more information: http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/xml-mapping.html#simplified-xml-driver
24
+
Check the Doctrine documentation for more information: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/xml-mapping.html#simplified-xml-driver
25
25
26
26
### YAML
27
27
@@ -44,7 +44,7 @@ The format of the `paths` config value in `doctrine.php` config differs sligthly
44
44
],
45
45
```
46
46
47
-
Check the Doctrine documentation for more information: http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/yaml-mapping.html#simplified-yaml-driver
47
+
Check the Doctrine documentation for more information: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/yaml-mapping.html#simplified-yaml-driver
Copy file name to clipboardExpand all lines: orm/meta-data.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ class Article
46
46
}
47
47
```
48
48
49
-
More about the annotation driver: http://doctrine-orm.readthedocs.org/en/latest/reference/annotations-reference.html#
49
+
More about the annotation driver: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/annotations-reference.html#annotations-reference
50
50
51
51
### YAML
52
52
@@ -69,7 +69,7 @@ App\Article:
69
69
type: string
70
70
```
71
71
72
-
More about the YAML driver: http://doctrine-orm.readthedocs.org/en/latest/reference/yaml-mapping.html
72
+
More about the YAML driver: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/yaml-mapping.html
73
73
74
74
### XML
75
75
@@ -96,7 +96,7 @@ Another option is to leverage XML mappings. Just like YAML it's better to change
96
96
</doctrine-mapping>
97
97
```
98
98
99
-
More information about XML mappings: http://doctrine-orm.readthedocs.org/en/latest/reference/xml-mapping.html
99
+
More information about XML mappings: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/xml-mapping.html
100
100
101
101
### Config files
102
102
@@ -166,4 +166,4 @@ class Article
166
166
}
167
167
```
168
168
169
-
More on the StaticPHP driver: http://doctrine-orm.readthedocs.org/en/latest/reference/php-mapping.html
169
+
More on the StaticPHP driver: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/php-mapping.html
0 commit comments