Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8afd666

Browse filesBrowse files
Merge 5.0 into 5.1 (#3187)
2 parents 7d6073d + 095076b commit 8afd666
Copy full SHA for 8afd666

File tree

Expand file treeCollapse file tree

3 files changed

+9
-8
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+9
-8
lines changed

‎docs/eloquent-models/model-class.txt

Copy file name to clipboardExpand all lines: docs/eloquent-models/model-class.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ retrieving data by using a casting helper. This helper is a convenient
190190
alternative to defining equivalent accessor and mutator methods on your model.
191191

192192
In the following example, the casting helper converts the ``discovery_dt``
193-
model attribute, stored in MongoDB as a `MongoDB\\BSON\\UTCDateTime <https://www.php.net/manual/en/class.mongodb-bson-utcdatetime.php>`__
194-
type, to the Laravel ``datetime`` type.
193+
model attribute, stored in MongoDB as a :php:`MongoDB\\BSON\\UTCDateTime
194+
<class.mongodb-bson-utcdatetime>` type, to the Laravel ``datetime`` type.
195195

196196
.. literalinclude:: /includes/eloquent-models/PlanetDate.php
197197
:language: php
@@ -216,8 +216,8 @@ type, to the Laravel ``datetime`` type.
216216
To learn more, see `Attribute Casting <https://laravel.com/docs/{+laravel-docs-version+}/eloquent-mutators#attribute-casting>`__
217217
in the Laravel documentation.
218218

219-
This conversion lets you use the PHP `DateTime
220-
<https://www.php.net/manual/en/class.datetime.php>`__ class to work with dates
219+
This conversion lets you use the PHP :php:`DateTime
220+
<class.datetime>` class to work with dates
221221
in this field. The following example shows a Laravel query that uses the
222222
casting helper on the model to query for planets with a ``discovery_dt`` of
223223
less than three years ago:

‎docs/fundamentals/connection/tls.txt

Copy file name to clipboardExpand all lines: docs/fundamentals/connection/tls.txt
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,9 @@ The following example configures a connection with TLS enabled:
188188
Additional Information
189189
----------------------
190190

191-
To learn more about setting URI options, see the `MongoDB\Driver\Manager::__construct()
192-
<https://www.php.net/manual/en/mongodb-driver-manager.construct.php>`__
191+
To learn more about setting URI options, see the
192+
:php:`MongoDB\\Driver\\Manager::__construct()
193+
<mongodb-driver-manager.construct>`
193194
API documentation.
194195

195196
To learn more about enabling TLS on a connection, see the

‎docs/quick-start/download-and-install.txt

Copy file name to clipboardExpand all lines: docs/quick-start/download-and-install.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ to a Laravel web application.
4848

4949
{+odm-long+} requires the {+php-extension+} to manage MongoDB
5050
connections and commands.
51-
Follow the `Installing the MongoDB PHP Driver with PECL <https://www.php.net/manual/en/mongodb.installation.pecl.php>`__
52-
guide to install the {+php-extension+}.
51+
Follow the :php:`Installing the MongoDB PHP Driver with PECL
52+
<mongodb.installation>` guide to install the {+php-extension+}.
5353

5454
.. step:: Install Laravel
5555

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.