for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace POData\ObjectModel;
/**
* Class ODataTitle.
*
* @package POData\ObjectModel
*/
class ODataTitle
{
* Title.
* @var string
private $title;
* Type.
private $type;
* ODataTitle constructor.
* @param string $title
* @param string $type
public function __construct(string $title, string $type = 'text')
$this
->setTitle($title)
->setType($type);
}
* @return string
public function getTitle(): string
return $this->title;
* @return ODataTitle
public function setTitle(string $title): ODataTitle
$this->title = $title;
return $this;
public function getType(): string
return $this->type;
public function setType(string $type): ODataTitle
$this->type = $type;