Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update traits link #18870

Merged
merged 1 commit into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide-es/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ $user->touch('login_time');
Comparación con Traits <span id="comparison-with-traits"></span>
----------------------

Mientras que los comportamientos son similares a [traits](https://secure.php.net/traits) en cuanto que ambos "inyectan" sus
Mientras que los comportamientos son similares a [traits](https://www.php.net/traits) en cuanto que ambos "inyectan" sus
métodos y propiedades a la clase primaria, son diferentes en muchos aspectos. Tal y como se describe abajo, los dos
tienen sus ventajas y desventajas. Son más como complementos el uno al otro en lugar de alternativas.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide-fr/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Il existe plusieurs comportements pré-inclus et extérieurs disponibles :
Comparaison des comportement et des traits <span id="comparison-with-traits"></span>
------------------------------------------

Bien que les comportements soient similaires aux [traits](https://secure.php.net/traits) par le fait qu'ils *injectent* tous deux leurs propriétés et leurs méthodes dans la classe primaire, ils diffèrent par de nombreux aspects. Comme nous l'expliquons ci-dessous, ils ont chacun leurs avantages et leurs inconvénients. Ils sont plus des compléments l'un envers l'autre, que des alternatives.
Bien que les comportements soient similaires aux [traits](https://www.php.net/traits) par le fait qu'ils *injectent* tous deux leurs propriétés et leurs méthodes dans la classe primaire, ils diffèrent par de nombreux aspects. Comme nous l'expliquons ci-dessous, ils ont chacun leurs avantages et leurs inconvénients. Ils sont plus des compléments l'un envers l'autre, que des alternatives.


### Raisons d'utiliser des comportements <span id="pros-for-behaviors"></span>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide-ja/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ $user->touch('login_time');
ビヘイビアとトレイトの比較 <span id="comparison-with-traits"></span>
--------------------------

ビヘイビアは、主となるクラスにそのプロパティやメソッドを「注入する」という点で [トレイト](https://secure.php.net/traits)
ビヘイビアは、主となるクラスにそのプロパティやメソッドを「注入する」という点で [トレイト](https://www.php.net/traits)
に似ていますが、これらは多くの面で異なります。以下に説明するように、それらは互いに長所と短所を持っています。
それらは代替手段というよりも、むしろ相互補完関係のようなものです。

Expand Down
2 changes: 1 addition & 1 deletion docs/guide-pl/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ Poniżej znajdziesz kilka behaviorów wbudowanych lub też dostępnych w zewnęt
Różnice pomiędzy behaviorami a traitami <span id="comparison-with-traits"></span>
---------------------------------------

Pomimo że behaviory są podobne do [traitów](https://secure.php.net/traits) w taki sposób, że również "wstrzykują" swoje
Pomimo że behaviory są podobne do [traitów](https://www.php.net/traits) w taki sposób, że również "wstrzykują" swoje
właściwości i metody do klasy, struktury te różnią się w wielu aspektach. Obie mają swoje wady i zalety, jak opisano to
poniżej, i powinny być raczej traktowane jako swoje uzupełnienia, a nie alternatywy.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide-pt-BR/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ $user->touch('login_time');
Comparando Behaviors com Traits <span id="comparison-with-traits"></span>
----------------------

Apesar de behaviors serem semelhantes a [traits](https://secure.php.net/traits) em que ambos "injetam" suas propriedades e métodos para a classe principal, eles diferem em muitos aspectos. Tal como explicado abaixo, ambos têm prós e contras. Eles funcionam mais como complemento um do outro.
Apesar de behaviors serem semelhantes a [traits](https://www.php.net/traits) em que ambos "injetam" suas propriedades e métodos para a classe principal, eles diferem em muitos aspectos. Tal como explicado abaixo, ambos têm prós e contras. Eles funcionam mais como complemento um do outro.


### Razões para usar Behaviors <span id="pros-for-behaviors"></span>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide-zh-CN/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ $user->touch('login_time');
比较行为与 Traits <span id="comparison-with-traits"></span>
----------------------

虽然行为类似于 [traits](https://secure.php.net/traits),它们都将自己的属性和方法“注入”到主类中,
虽然行为类似于 [traits](https://www.php.net/traits),它们都将自己的属性和方法“注入”到主类中,
但它们在许多方面有所不同。如下所述,他们都有优点和缺点。
它们更像互补类而非替代类。

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/concept-behaviors.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ There are several built-in and external behaviors available:
Comparing Behaviors with Traits <span id="comparison-with-traits"></span>
----------------------

While behaviors are similar to [traits](https://secure.php.net/traits) in that they both "inject" their
While behaviors are similar to [traits](https://www.php.net/traits) in that they both "inject" their
properties and methods to the primary class, they differ in many aspects. As explained below, they
both have pros and cons. They are more like complements to each other rather than alternatives.

Expand Down