| 1 | <?php |
||
| 7 | class BaseResourceOwner implements ResourceOwnerInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Raw response |
||
| 11 | * |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $response; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array $response |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(array $response) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Returns the identifier of the authorized resource owner. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 1 | public function getId() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Returns the shop name. |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 1 | public function getShopName() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Return all of the owner details available as an array. |
||
| 46 | * |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | 1 | public function toArray() |
|
| 53 | } |
||
| 54 |