for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace ikoene\Marvel\Entity;
/**
* Class TextObject
* @package ikoene\Marvel\Entity
*/
class TextObject
{
* The canonical type of the text object (e.g. solicit text, preview text, etc.).
*
* @var string
private $type;
* The IETF language tag denoting the language the text object is written in.
private $language;
* The text.
private $text;
* @return string
public function getType()
return $this->type;
}
* @param string $type
public function setType(string $type)
$this->type = $type;
public function getLanguage()
return $this->language;
* @param string $language
public function setLanguage(string $language)
$this->language = $language;
public function getText()
return $this->text;
* @param string $text
public function setText(string $text)
$this->text = $text;