PollQuery.php
476 Bytes
<?php
namespace FootyRoom\Queries\Poll;
/**
* Query to return a specific poll.
*/
class PollQuery
{
/**
* @var string
*/
protected $pollId;
/**
* Constructor.
*
* @param string $pollId
*/
public function __construct($pollId)
{
$this->pollId = $pollId;
}
/**
* Gets the value of pollId.
*
* @return string
*/
public function getPollId()
{
return $this->pollId;
}
}