for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php // Copyright ⓒ 2018 Magneds IP B.V. - All Rights Reserved
namespace Magneds\Lokalise\Project\Entity;
class ProjectID
{
/**
* @var string
*/
protected $id;
* ProjectID constructor.
* @param string $id
public function __construct(string $id)
$this->id = $id;
}
* @return string
public function getID(): string
return $this->id;
* The __toString method allows a class to decide how it will react when it is converted to a string.
*
* @link http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring
public function __toString()