for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File: ModelDTO.php
*
* @author Maciej Sławik <[email protected]>
* Github: https://github.com/maciejslawik
*/
namespace MSlwk\Otomoto\App\Model\Data;
* Class ModelDTO
* @package MSlwk\Otomoto\App\Model\Data
class ModelDTO implements ModelDTOInterface
{
* @var string
private $name;
* ModelDTO constructor.
* @param string $name
public function __construct(string $name)
$this->name = $name;
}
* @return string
public function getName(): string
return $this->name;