This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added namespace, classes to use and 'token' variable
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<?php | ||
|
||
namespace Joserick\Plex\Machine; | ||
|
||
use Joserick\Plex\Exception\Plex_Exception_Machine; | ||
|
||
/** | ||
* Plex Machine | ||
* | ||
|
@@ -8,7 +12,7 @@ | |
* @author <[email protected]> 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 <[email protected]> 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 | ||
|