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