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

Sign up
Appearance settings

Commit 095076b

Browse files
Merge 4.8 into 5.0 (#3186)
2 parents b51aeff + 25f7e8c commit 095076b

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

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

Lines 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

Lines 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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ to a Laravel web application.
3535

3636
{+odm-long+} requires the {+php-extension+} to manage MongoDB
3737
connections and commands.
38-
Follow the `Installing the MongoDB PHP Driver with PECL <https://www.php.net/manual/en/mongodb.installation.pecl.php>`__
39-
guide to install the {+php-extension+}.
38+
Follow the :php:`Installing the MongoDB PHP Driver with PECL
39+
<mongodb.installation>` guide to install the {+php-extension+}.
4040

4141
.. step:: Install Laravel
4242

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /