for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace VideoPublisher\Security;
/**
* Class Token.
*
* @author Bart Malestein <[email protected]>
*/
class Token
{
* @var string
private $value;
private $name;
* Token constructor.
* @param string $value
* @param string $name
public function __construct($value, $name = 'xauth-token')
$this->value = $value;
$this->name = $name;
}
* @return string
public function getValue()
return $this->value;
public function getName()
return $this->name;