From bd63564c304303405e0b5a51a6365d341fa5ad33 Mon Sep 17 00:00:00 2001 From: werdin Date: Mon, 20 Jan 2014 21:21:47 +0200 Subject: [PATCH] Update api_key_authentication.rst mistakenly extends interface --- cookbook/security/api_key_authentication.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/security/api_key_authentication.rst b/cookbook/security/api_key_authentication.rst index cd2812ebd88..3b9fbe2558f 100644 --- a/cookbook/security/api_key_authentication.rst +++ b/cookbook/security/api_key_authentication.rst @@ -145,7 +145,7 @@ The ``$userProvider`` might look something like this:: use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\Exception\UnsupportedUserException; - class ApiKeyUserProvider extends UserProviderInterface + class ApiKeyUserProvider implements UserProviderInterface { public function getUsernameForApiKey($apiKey) { @@ -414,7 +414,7 @@ of the user to make sure it's not out-of-date. But regardless of your requiremen // src/Acme/HelloBundle/Security/ApiKeyUserProvider.php // ... - class ApiKeyUserProvider extends UserProviderInterface + class ApiKeyUserProvider implements UserProviderInterface { // ...