for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CarlosIO\Geckoboard\Data\ItemList;
class Title
{
/**
* @var string
*/
protected $text;
* @var bool
protected $highlight;
* @return mixed
public function getHighlight()
return $this->highlight;
}
* @param mixed $highlight
*
* @return $this
public function setHighlight($highlight)
$this->highlight = $highlight;
return $this;
* @return string
public function getText()
return $this->text;
* @param string $text
public function setText($text)
$this->text = $text;
* Returns an array representation of this object.
* @return array
public function toArray()
$result = array();
$result['text'] = $this->getText();
$result['highlight'] = $this->getHighlight();
return $result;