From e988aca1265ef6f91adcc0bc5fd413bc33027b3e Mon Sep 17 00:00:00 2001 From: Jose Erick Carreon Date: Fri, 12 Apr 2019 18:35:48 -0500 Subject: [PATCH] feat: Added namespace, classes to use and 'token' variable --- src/Joserick/Plex/Machine/MachineAbstract.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Joserick/Plex/Machine/MachineAbstract.php b/src/Joserick/Plex/Machine/MachineAbstract.php index 38f794a..8d3b2f6 100644 --- a/src/Joserick/Plex/Machine/MachineAbstract.php +++ b/src/Joserick/Plex/Machine/MachineAbstract.php @@ -1,5 +1,9 @@ Nick Bartkowiak * @copyright (c) 2013 Nick Bartkowiak * @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public Licence (GPLv3) - * @version 0.0.2.5 + * @version 0.0.2.6 * * This file is part of php-plex. * @@ -32,7 +36,7 @@ * @author Nick Bartkowiak * @copyright (c) 2012 Nick Bartkowiak * @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public Licence (GPLv3) - * @version 0.0.2.5 + * @version 0.0.2.6 */ abstract class Plex_MachineAbstract implements Plex_MachineInterface { @@ -54,6 +58,12 @@ abstract class Plex_MachineAbstract implements Plex_MachineInterface * @var integer */ protected $port; + + /** + * The token of the Plex machine on the network. + * @var string + */ + protected $token; /** * Returns the base URL, which will be standard for all requests made to the