Movatterモバイル変換


[0]ホーム

URL:


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

Commit6467fdc

Browse files
committed
[#2111] Minor language tweaks
1 parent6ddc50c commit6467fdc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎cookbook/security/custom_provider.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ however you want and contain any data. The only requirement is that the
2323
class implements:class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`.
2424
The methods in this interface should therefore be defined in the custom user
2525
class::method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getRoles`,
26-
:method`Symfony\\Component\\Security\\Core\\User\\UserInterfacegetPassword`,
26+
:method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getPassword`,
2727
:method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getSalt`,
2828
:method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getUsername`,
2929
:method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::eraseCredentials`.
30-
Itis alsousefullto implement the
30+
Itmay alsobe usefulto implement the
3131
:class:`Symfony\\Component\\Security\\Core\\User\\EquatableInterface` interface,
32-
to define a methodhow check if the user is equal to the current user. This
33-
interface requiresa:method:`Symfony\\Component\\Security\\Core\\User\\EquatableInterface::isEqualTo`
32+
which defines a methodto check if the user is equal to the current user. This
33+
interface requiresan:method:`Symfony\\Component\\Security\\Core\\User\\EquatableInterface::isEqualTo`
3434
method.
3535

3636
Let's see this in action::
@@ -103,8 +103,8 @@ Let's see this in action::
103103
}
104104

105105
..versionadded::2.1
106-
The ``EquatableInterface`` was added in Symfony 2.1, use the ``equals()``
107-
method of the ``UserInterface`` in Symfony 2.0
106+
The ``EquatableInterface`` was added in Symfony 2.1. Use the ``equals()``
107+
method of the ``UserInterface`` in Symfony 2.0.
108108

109109
If you have more information about your users - like a "first name" - then
110110
you can add a ``firstName`` field to hold that data.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp