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

Commit

Permalink
feat: Added namespace, classes to use and 'token' variable
Browse files Browse the repository at this point in the history
  • Loading branch information
joserick committed Apr 12, 2019
1 parent 9765c09 commit e988aca
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Joserick/Plex/Machine/MachineAbstract.php
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
*
Expand All @@ -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.
*
Expand All @@ -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
{
Expand All @@ -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
Expand Down

0 comments on commit e988aca

Please sign in to comment.