for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App;
final class ApplicationParameters
{
private string $charset = 'UTF-8';
private string $language = 'en';
private string $name = 'My Project';
private string $email = '[email protected]';
public function getCharset(): string
return $this->charset;
}
public function getEmail(): string
return $this->email;
public function getLanguage(): string
return $this->language;
public function getName(): string
return $this->name;
public function charset(string $value): self
$new = clone $this;
$new->charset = $value;
return $new;
public function email(string $value): self
$new->email = $value;
public function language(string $value): self
$new->language = $value;
public function name(string $value): self
$new->name = $value;