From 8b1f3ef193b3ca517ee173230aa228dbae3fc1d9 Mon Sep 17 00:00:00 2001 From: Brooke Bryan Date: Wed, 12 Nov 2014 10:38:09 +0000 Subject: [PATCH] Update Adapter to AbstractStorage in examples/relational --- examples/relational/Storage/AccessTokenStorage.php | 4 ++-- examples/relational/Storage/AuthCodeStorage.php | 4 ++-- examples/relational/Storage/ClientStorage.php | 4 ++-- examples/relational/Storage/RefreshTokenStorage.php | 4 ++-- examples/relational/Storage/ScopeStorage.php | 4 ++-- examples/relational/Storage/SessionStorage.php | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/relational/Storage/AccessTokenStorage.php b/examples/relational/Storage/AccessTokenStorage.php index 7d0c37e7..995c6147 100644 --- a/examples/relational/Storage/AccessTokenStorage.php +++ b/examples/relational/Storage/AccessTokenStorage.php @@ -6,10 +6,10 @@ use Illuminate\Database\Capsule\Manager as Capsule; use League\OAuth2\Server\Entity\AbstractTokenEntity; use League\OAuth2\Server\Entity\AccessTokenEntity; use League\OAuth2\Server\Entity\ScopeEntity; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\AccessTokenInterface; -use League\OAuth2\Server\Storage\Adapter; -class AccessTokenStorage extends Adapter implements AccessTokenInterface +class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface { /** * {@inheritdoc} diff --git a/examples/relational/Storage/AuthCodeStorage.php b/examples/relational/Storage/AuthCodeStorage.php index 106f9010..c744c081 100644 --- a/examples/relational/Storage/AuthCodeStorage.php +++ b/examples/relational/Storage/AuthCodeStorage.php @@ -5,10 +5,10 @@ namespace RelationalExample\Storage; use Illuminate\Database\Capsule\Manager as Capsule; use League\OAuth2\Server\Entity\AuthCodeEntity; use League\OAuth2\Server\Entity\ScopeEntity; -use League\OAuth2\Server\Storage\Adapter; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\AuthCodeInterface; -class AuthCodeStorage extends Adapter implements AuthCodeInterface +class AuthCodeStorage extends AbstractStorage implements AuthCodeInterface { /** * {@inheritdoc} diff --git a/examples/relational/Storage/ClientStorage.php b/examples/relational/Storage/ClientStorage.php index 99e851aa..16987b9a 100644 --- a/examples/relational/Storage/ClientStorage.php +++ b/examples/relational/Storage/ClientStorage.php @@ -5,10 +5,10 @@ namespace RelationalExample\Storage; use Illuminate\Database\Capsule\Manager as Capsule; use League\OAuth2\Server\Entity\ClientEntity; use League\OAuth2\Server\Entity\SessionEntity; -use League\OAuth2\Server\Storage\Adapter; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\ClientInterface; -class ClientStorage extends Adapter implements ClientInterface +class ClientStorage extends AbstractStorage implements ClientInterface { /** * {@inheritdoc} diff --git a/examples/relational/Storage/RefreshTokenStorage.php b/examples/relational/Storage/RefreshTokenStorage.php index 11afa391..148a1eb2 100644 --- a/examples/relational/Storage/RefreshTokenStorage.php +++ b/examples/relational/Storage/RefreshTokenStorage.php @@ -4,10 +4,10 @@ namespace RelationalExample\Storage; use Illuminate\Database\Capsule\Manager as Capsule; use League\OAuth2\Server\Entity\RefreshTokenEntity; -use League\OAuth2\Server\Storage\Adapter; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\RefreshTokenInterface; -class RefreshTokenStorage extends Adapter implements RefreshTokenInterface +class RefreshTokenStorage extends AbstractStorage implements RefreshTokenInterface { /** * {@inheritdoc} diff --git a/examples/relational/Storage/ScopeStorage.php b/examples/relational/Storage/ScopeStorage.php index fc2988b3..5f3bf614 100644 --- a/examples/relational/Storage/ScopeStorage.php +++ b/examples/relational/Storage/ScopeStorage.php @@ -4,10 +4,10 @@ namespace RelationalExample\Storage; use Illuminate\Database\Capsule\Manager as Capsule; use League\OAuth2\Server\Entity\ScopeEntity; -use League\OAuth2\Server\Storage\Adapter; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\ScopeInterface; -class ScopeStorage extends Adapter implements ScopeInterface +class ScopeStorage extends AbstractStorage implements ScopeInterface { /** * {@inheritdoc} diff --git a/examples/relational/Storage/SessionStorage.php b/examples/relational/Storage/SessionStorage.php index 35935ec1..28b538a9 100644 --- a/examples/relational/Storage/SessionStorage.php +++ b/examples/relational/Storage/SessionStorage.php @@ -7,10 +7,10 @@ use League\OAuth2\Server\Entity\AccessTokenEntity; use League\OAuth2\Server\Entity\AuthCodeEntity; use League\OAuth2\Server\Entity\ScopeEntity; use League\OAuth2\Server\Entity\SessionEntity; -use League\OAuth2\Server\Storage\Adapter; +use League\OAuth2\Server\Storage\AbstractStorage; use League\OAuth2\Server\Storage\SessionInterface; -class SessionStorage extends Adapter implements SessionInterface +class SessionStorage extends AbstractStorage implements SessionInterface { /** * {@inheritdoc}