Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit e988aca

Browse files
committed
feat: Added namespace, classes to use and 'token' variable
1 parent 9765c09 commit e988aca

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/Joserick/Plex/Machine/MachineAbstract.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
namespace Joserick\Plex\Machine;
4+
5+
use Joserick\Plex\Exception\Plex_Exception_Machine;
6+
37
/**
48
* Plex Machine
59
*
@@ -8,7 +12,7 @@
812
* @author <[email protected]> Nick Bartkowiak
913
* @copyright (c) 2013 Nick Bartkowiak
1014
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public Licence (GPLv3)
11-
* @version 0.0.2.5
15+
* @version 0.0.2.6
1216
*
1317
* This file is part of php-plex.
1418
*
@@ -32,7 +36,7 @@
3236
* @author <[email protected]> Nick Bartkowiak
3337
* @copyright (c) 2012 Nick Bartkowiak
3438
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public Licence (GPLv3)
35-
* @version 0.0.2.5
39+
* @version 0.0.2.6
3640
*/
3741
abstract class Plex_MachineAbstract implements Plex_MachineInterface
3842
{
@@ -54,6 +58,12 @@ abstract class Plex_MachineAbstract implements Plex_MachineInterface
5458
* @var integer
5559
*/
5660
protected $port;
61+
62+
/**
63+
* The token of the Plex machine on the network.
64+
* @var string
65+
*/
66+
protected $token;
5767

5868
/**
5969
* Returns the base URL, which will be standard for all requests made to the

0 commit comments

Comments
 (0)