for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Neutrino package.
*
* (c) Vasil Dakov <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace VasilDakov\Speedy\Service\Validation;
/**
* Class ValidatePhoneRequest
* @author Vasil Dakov <[email protected]>
* @copyright 2009-2023 Neutrino.bg
* @version 1.0
class ValidatePhoneRequest
{
* Phone number
* @var string
private string $number;
* Phone number extension
* @var string|null
private ?string $ext;
* @param string $number
* @param string|null $ext
public function __construct(string $number, string $ext = null)
$this->number = $number;
$this->ext = $ext;
}
* @return string
public function getNumber(): string
return $this->number;
* @return string|null
public function getExt(): ?string
return $this->ext;