mirror of
https://github.com/FriendsOfSymfony/FOSAdvancedEncoderBundle.git
synced 2026-03-24 08:42:13 +01:00
22 lines
471 B
PHP
22 lines
471 B
PHP
<?php
|
|
|
|
namespace Stof\AdvancedEncoderBundle\Security\Encoder;
|
|
|
|
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
|
|
|
|
/**
|
|
* @author Christophe Coevoet <stof@notk.org>
|
|
*/
|
|
interface EncoderAwareInterface
|
|
{
|
|
/**
|
|
* Gets the name of the encoder used to encode the password.
|
|
*
|
|
* If the method returns null, the standard way to retrieve the encoder
|
|
* will be used instead.
|
|
*
|
|
* @return string
|
|
*/
|
|
function getEncoderName();
|
|
}
|