<?php
class Button {
private $key;
private $text;
private $data;
private $used;
function __construct()
{
$this->used = true;
}
/**
* Get the value of key
*/
public function getKey()
{
return $this->key;
}
/**
* Set the value of key
*
* @return self
*/
public function setKey($key)
{
$this->key = $key;
return $this;
}
/**
* Get the value of text
*/
public function getText()
{
return $this->text;
}
/**
* Set the value of text
*
* @return self
*/
public function setText($text)
{
$this->text = $text;
return $this;
}
/**
* Get the value of data
*/
public function getData()
{
return $this->data;
}
/**
* Set the value of data
*
* @return self
*/
public function setData($data)
{
$this->data = $data;
return $this;
}
/**
* Get the value of used
*/
public function getUsed()
{
return $this->used;
}
/**
* Set the value of used
*
* @return self
*/
public function setUsed($used)
{
$this->used = $used;
return $this;
}
}