Skip to content

Commit 28b8629

Browse files
committed
Update Doctrine documentation urls
They was all pointing to 404
1 parent d5509d2 commit 28b8629

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

fluent/reference.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ $builder->string('description', function(Field $field){
141141
});
142142
```
143143

144-
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)
145145
for an analogue implementation.
146146

147147
| `Field` method | Description |
@@ -167,7 +167,7 @@ for an analogue implementation.
167167
Doctrine can be configured to use automatically generated values on the database side.
168168
This is usually used to configure auto-incrementing integers for primary columns.
169169

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)
171171
is *very recommended*.
172172

173173
You can access the `LaravelDoctrine\Fluent\Builders\GeneratedValue` object only through a `Field` object,
@@ -467,7 +467,7 @@ $builder->belongsTo(Scientist::class, 'mentor')->fetchEager();
467467

468468
Allow some methods to be _even lazier_ than the lazy loading mode.
469469

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)
471471
for a complete explanation and usage examples.
472472

473473
```php
@@ -480,7 +480,7 @@ Doctrine can be configured to cascade operations that happen to the current enti
480480
is useful for encapsulating knowledge of change inside one entity without forcing the user to traverse all modified
481481
relations.
482482

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)
484484
for a complete usage guide.
485485

486486
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 *
500500
In `one-to-*` and `many-to-many` associations, sometimes removing an entity from a relation means the removed entity
501501
should be removed from the system. This can be acomplished by the `orphan removal` feature.
502502

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).
504504

505505
```php
506506
$builder->oneToMany(Theory::class)->orphanRemoval();
@@ -542,7 +542,7 @@ $builder->embed(EmailAddress::class, 'email')->noPrefix();
542542
A family of entities can be mapped to the database as an inheritance structure. Currently
543543
Doctrine supports 3 types of inheritance: *Mapped super classes*, *single table* and *joined table inheritance*
544544

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).
546546

547547
<a name="inheritance-mapped-super-class"></a>
548548
## Mapped super classes
@@ -646,9 +646,9 @@ $builder->joinedTableInheritance()->column('type');
646646
<a name="lifecycle-events-and-callbacks"></a>
647647
## Lifecycle events and callbacks
648648

649-
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.
650650

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).
652652

653653
### Listening to Lifecycle Events
654654

@@ -664,7 +664,7 @@ will call `TestEventListener@onFlush`
664664

665665
will call `TestEventListener@methodToCall`
666666

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).
668668

669669
| Method | Description |
670670
|---------------------------------------------------------------|-------------|
@@ -826,12 +826,12 @@ If you are mapping custom repositories to a DI Container and resolving them by i
826826
$builder->entity()->readOnly();
827827
```
828828

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).
830830

831831
```php
832832
$builder->entity()->cacheable(ClassMetadataInfo::CACHE_USAGE_NONSTRICT_READ_WRITE, 'scientists_cache_region');
833833
```
834834

835835
Mark this entity as cacheable, using the `Second Level Cache` functionality.
836836

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).

orm/config-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ and follow the [installation instructions.](http://www.laraveldoctrine.org/docs/
295295

296296
Custom types are classes that allow Doctrine to marshal data to/from the data source in a custom format.
297297

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)
299299

300300
### <a name="custom-functions"></a> Custom Functions
301301

orm/entity-manager.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ EntityManager::remove($article);
111111
EntityManager::flush();
112112
```
113113

114-
More information about the entity manager: http://doctrine-orm.readthedocs.org/en/latest/reference/working-with-objects.html
114+
More information about the entity manager: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-objects.html

orm/meta-data-configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The format of the `paths` config value in `doctrine.php` config differs sligthly
2121
],
2222
```
2323

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
2525

2626
### YAML
2727

@@ -44,7 +44,7 @@ The format of the `paths` config value in `doctrine.php` config differs sligthly
4444
],
4545
```
4646

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
4848

4949
### StaticPhp
5050

orm/meta-data.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Article
4646
}
4747
```
4848

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
5050

5151
### YAML
5252

@@ -69,7 +69,7 @@ App\Article:
6969
type: string
7070
```
7171
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
7373
7474
### XML
7575
@@ -96,7 +96,7 @@ Another option is to leverage XML mappings. Just like YAML it's better to change
9696
</doctrine-mapping>
9797
```
9898

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
100100

101101
### Config files
102102

@@ -166,4 +166,4 @@ class Article
166166
}
167167
```
168168

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

Comments
 (0)