From d8e1e0e00edd046810221ad595f5f89f217c8fd8 Mon Sep 17 00:00:00 2001 From: Frederik Bosch Date: Thu, 24 Mar 2016 15:01:55 +0100 Subject: [PATCH] remove unnecessary methods from interfaces --- .../Interfaces/ClientEntityInterface.php | 21 ------------------- .../Interfaces/ScopeEntityInterface.php | 7 ------- 2 files changed, 28 deletions(-) diff --git a/src/Entities/Interfaces/ClientEntityInterface.php b/src/Entities/Interfaces/ClientEntityInterface.php index 4ed17162..2ddb6ee9 100644 --- a/src/Entities/Interfaces/ClientEntityInterface.php +++ b/src/Entities/Interfaces/ClientEntityInterface.php @@ -11,13 +11,6 @@ interface ClientEntityInterface */ public function getIdentifier(); - /** - * Set the client's identifier. - * - * @param $identifier - */ - public function setIdentifier($identifier); - /** * Get the client's name. * @@ -25,20 +18,6 @@ interface ClientEntityInterface */ public function getName(); - /** - * Set the client's name. - * - * @param string $name - */ - public function setName($name); - - /** - * Set the client's redirect uri. - * - * @param string $redirectUri - */ - public function setRedirectUri($redirectUri); - /** * Returns the registered redirect URI. * diff --git a/src/Entities/Interfaces/ScopeEntityInterface.php b/src/Entities/Interfaces/ScopeEntityInterface.php index 44aa13be..099b66e5 100644 --- a/src/Entities/Interfaces/ScopeEntityInterface.php +++ b/src/Entities/Interfaces/ScopeEntityInterface.php @@ -10,11 +10,4 @@ interface ScopeEntityInterface extends \JsonSerializable * @return string */ public function getIdentifier(); - - /** - * Set the scope's identifier. - * - * @param $identifier - */ - public function setIdentifier($identifier); }