for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Linio\Type;
class Address
{
/**
* @var string
*/
protected $line1;
protected $line2;
protected $postcode;
protected $city;
protected $state;
protected $country;
public function getLine1(): string
return $this->line1;
}
public function setLine1(string $line1)
$this->line1 = $line1;
public function getLine2(): string
return $this->line2;
public function setLine2(string $line2)
$this->line2 = $line2;
public function getFullAddress(): string
return $this->line1 . ' ' . $this->line2;
public function getPostcode(): string
return $this->postcode;
public function setPostcode(string $postcode)
$this->postcode = $postcode;
public function getCity(): string
return $this->city;
public function setCity(string $city)
$this->city = $city;
public function getState(): string
return $this->state;
public function setState(string $state)
$this->state = $state;
public function getCountry(): string
return $this->country;
public function setCountry(string $country)
$this->country = $country;