for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SixtyEightPublishers\Application;
/**
* @internal
*/
class Profile
{
/** @var string */
private $name;
/** @var array */
private $countries;
private $languages;
private $currencies;
private $domains;
/** @var bool */
private $enabled = TRUE;
* @param string $name
* @param array $countries
* @param array $languages
* @param array $currencies
* @param array $domains
public function __construct($name, array $countries, array $languages, array $currencies, array $domains)
$this->name = $name;
$this->countries = $countries;
$this->languages = $languages;
$this->currencies = $currencies;
$this->domains = $domains;
}
* @param bool $enabled
*
* @return void
public function setEnabled($enabled = true)
$this->enabled = $enabled;
* @return string
public function getName()
return $this->name;
* @return array
public function getCountries()
return $this->countries;
public function getLanguages()
return $this->languages;
public function getCurrencies()
return $this->currencies;
public function getDomains()
return $this->domains;
* @return bool
public function isEnabled()
return $this->enabled;