|
@@ -11,135 +11,135 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* id
|
|
* id
|
|
|
*
|
|
*
|
|
|
- * @var string
|
|
|
|
|
|
|
+ * @var int
|
|
|
*/
|
|
*/
|
|
|
- protected $id = '';
|
|
|
|
|
|
|
+ protected $id;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* type
|
|
* type
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $type = '';
|
|
|
|
|
|
|
+ protected $type;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* subDomain
|
|
* subDomain
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $subDomain = '';
|
|
|
|
|
|
|
+ protected $subDomain;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* name
|
|
* name
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $name = '';
|
|
|
|
|
|
|
+ protected $name;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* slug
|
|
* slug
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $slug = '';
|
|
|
|
|
|
|
+ protected $slug;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* principalType
|
|
* principalType
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $principalType = '';
|
|
|
|
|
|
|
+ protected $principalType;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* description
|
|
* description
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $description = '';
|
|
|
|
|
|
|
+ protected $description;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* categories
|
|
* categories
|
|
|
*
|
|
*
|
|
|
- * @var int
|
|
|
|
|
|
|
+ * @var array
|
|
|
*/
|
|
*/
|
|
|
- protected $categories = 0;
|
|
|
|
|
|
|
+ protected $categories;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* addressCity
|
|
* addressCity
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $addressCity = '';
|
|
|
|
|
|
|
+ protected $addressCity;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* postalCode
|
|
* postalCode
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $postalCode = '';
|
|
|
|
|
|
|
+ protected $postalCode;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* streetAdress
|
|
* streetAdress
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $streetAdress = '';
|
|
|
|
|
|
|
+ protected $streetAddress;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* latitude
|
|
* latitude
|
|
|
*
|
|
*
|
|
|
* @var float
|
|
* @var float
|
|
|
*/
|
|
*/
|
|
|
- protected $latitude = 0.0;
|
|
|
|
|
|
|
+ protected $latitude;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* longitude
|
|
* longitude
|
|
|
*
|
|
*
|
|
|
* @var float
|
|
* @var float
|
|
|
*/
|
|
*/
|
|
|
- protected $longitude = 0.0;
|
|
|
|
|
|
|
+ protected $longitude;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* country
|
|
* country
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $country = '';
|
|
|
|
|
|
|
+ protected $country;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* logo
|
|
* logo
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $logo = '';
|
|
|
|
|
|
|
+ protected $logo;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* parentId
|
|
* parentId
|
|
|
*
|
|
*
|
|
|
* @var int
|
|
* @var int
|
|
|
*/
|
|
*/
|
|
|
- protected $parentId = 0;
|
|
|
|
|
|
|
+ protected $parentId;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* parentName
|
|
* parentName
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $parentName = '';
|
|
|
|
|
|
|
+ protected $parentName;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* parentSubdomain
|
|
* parentSubdomain
|
|
|
*
|
|
*
|
|
|
* @var string
|
|
* @var string
|
|
|
*/
|
|
*/
|
|
|
- protected $parentSubdomain = '';
|
|
|
|
|
|
|
+ protected $parentSubdomain;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Returns the id
|
|
* Returns the id
|
|
|
*
|
|
*
|
|
|
- * @return string $id
|
|
|
|
|
|
|
+ * @return int $id
|
|
|
*/
|
|
*/
|
|
|
- public function getId()
|
|
|
|
|
|
|
+ public function getId(): int
|
|
|
{
|
|
{
|
|
|
return $this->id;
|
|
return $this->id;
|
|
|
}
|
|
}
|
|
@@ -147,10 +147,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the id
|
|
* Sets the id
|
|
|
*
|
|
*
|
|
|
- * @param string $id
|
|
|
|
|
|
|
+ * @param int $id
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setId($id)
|
|
|
|
|
|
|
+ public function setId(int $id)
|
|
|
{
|
|
{
|
|
|
$this->id = $id;
|
|
$this->id = $id;
|
|
|
}
|
|
}
|
|
@@ -160,7 +160,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $type
|
|
* @return string $type
|
|
|
*/
|
|
*/
|
|
|
- public function getType()
|
|
|
|
|
|
|
+ public function getType(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->type;
|
|
return $this->type;
|
|
|
}
|
|
}
|
|
@@ -168,10 +168,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the type
|
|
* Sets the type
|
|
|
*
|
|
*
|
|
|
- * @param string $type
|
|
|
|
|
|
|
+ * @param string|null $type
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setType($type)
|
|
|
|
|
|
|
+ public function setType(?string $type)
|
|
|
{
|
|
{
|
|
|
$this->type = $type;
|
|
$this->type = $type;
|
|
|
}
|
|
}
|
|
@@ -181,7 +181,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $subDomain
|
|
* @return string $subDomain
|
|
|
*/
|
|
*/
|
|
|
- public function getSubDomain()
|
|
|
|
|
|
|
+ public function getSubDomain(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->subDomain;
|
|
return $this->subDomain;
|
|
|
}
|
|
}
|
|
@@ -189,10 +189,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the subDomain
|
|
* Sets the subDomain
|
|
|
*
|
|
*
|
|
|
- * @param string $subDomain
|
|
|
|
|
|
|
+ * @param string|null $subDomain
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setSubDomain($subDomain)
|
|
|
|
|
|
|
+ public function setSubDomain(?string $subDomain)
|
|
|
{
|
|
{
|
|
|
$this->subDomain = $subDomain;
|
|
$this->subDomain = $subDomain;
|
|
|
}
|
|
}
|
|
@@ -202,7 +202,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $name
|
|
* @return string $name
|
|
|
*/
|
|
*/
|
|
|
- public function getName()
|
|
|
|
|
|
|
+ public function getName(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->name;
|
|
return $this->name;
|
|
|
}
|
|
}
|
|
@@ -210,10 +210,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the name
|
|
* Sets the name
|
|
|
*
|
|
*
|
|
|
- * @param string $name
|
|
|
|
|
|
|
+ * @param string|null $name
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setName($name)
|
|
|
|
|
|
|
+ public function setName(?string $name)
|
|
|
{
|
|
{
|
|
|
$this->name = $name;
|
|
$this->name = $name;
|
|
|
}
|
|
}
|
|
@@ -223,7 +223,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $slug
|
|
* @return string $slug
|
|
|
*/
|
|
*/
|
|
|
- public function getSlug()
|
|
|
|
|
|
|
+ public function getSlug(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->slug;
|
|
return $this->slug;
|
|
|
}
|
|
}
|
|
@@ -231,10 +231,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the slug
|
|
* Sets the slug
|
|
|
*
|
|
*
|
|
|
- * @param string $slug
|
|
|
|
|
|
|
+ * @param ?string $slug
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setSlug($slug)
|
|
|
|
|
|
|
+ public function setSlug(?string $slug)
|
|
|
{
|
|
{
|
|
|
$this->slug = $slug;
|
|
$this->slug = $slug;
|
|
|
}
|
|
}
|
|
@@ -244,7 +244,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $principalType
|
|
* @return string $principalType
|
|
|
*/
|
|
*/
|
|
|
- public function getPrincipalType()
|
|
|
|
|
|
|
+ public function getPrincipalType(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->principalType;
|
|
return $this->principalType;
|
|
|
}
|
|
}
|
|
@@ -252,10 +252,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the principalType
|
|
* Sets the principalType
|
|
|
*
|
|
*
|
|
|
- * @param string $principalType
|
|
|
|
|
|
|
+ * @param string|null $principalType
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setPrincipalType($principalType)
|
|
|
|
|
|
|
+ public function setPrincipalType(?string $principalType)
|
|
|
{
|
|
{
|
|
|
$this->principalType = $principalType;
|
|
$this->principalType = $principalType;
|
|
|
}
|
|
}
|
|
@@ -265,7 +265,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $description
|
|
* @return string $description
|
|
|
*/
|
|
*/
|
|
|
- public function getDescription()
|
|
|
|
|
|
|
+ public function getDescription(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->description;
|
|
return $this->description;
|
|
|
}
|
|
}
|
|
@@ -273,10 +273,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the description
|
|
* Sets the description
|
|
|
*
|
|
*
|
|
|
- * @param string $description
|
|
|
|
|
|
|
+ * @param string|null $description
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setDescription($description)
|
|
|
|
|
|
|
+ public function setDescription(?string $description)
|
|
|
{
|
|
{
|
|
|
$this->description = $description;
|
|
$this->description = $description;
|
|
|
}
|
|
}
|
|
@@ -284,9 +284,9 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Returns the categories
|
|
* Returns the categories
|
|
|
*
|
|
*
|
|
|
- * @return int $categories
|
|
|
|
|
|
|
+ * @return array|null $categories
|
|
|
*/
|
|
*/
|
|
|
- public function getCategories()
|
|
|
|
|
|
|
+ public function getCategories(): ?array
|
|
|
{
|
|
{
|
|
|
return $this->categories;
|
|
return $this->categories;
|
|
|
}
|
|
}
|
|
@@ -294,10 +294,9 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the categories
|
|
* Sets the categories
|
|
|
*
|
|
*
|
|
|
- * @param int $categories
|
|
|
|
|
- * @return void
|
|
|
|
|
|
|
+ * @param array|null $categories
|
|
|
*/
|
|
*/
|
|
|
- public function setCategories($categories)
|
|
|
|
|
|
|
+ public function setCategories(?array $categories)
|
|
|
{
|
|
{
|
|
|
$this->categories = $categories;
|
|
$this->categories = $categories;
|
|
|
}
|
|
}
|
|
@@ -307,7 +306,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $addressCity
|
|
* @return string $addressCity
|
|
|
*/
|
|
*/
|
|
|
- public function getAddressCity()
|
|
|
|
|
|
|
+ public function getAddressCity(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->addressCity;
|
|
return $this->addressCity;
|
|
|
}
|
|
}
|
|
@@ -315,10 +314,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the addressCity
|
|
* Sets the addressCity
|
|
|
*
|
|
*
|
|
|
- * @param string $addressCity
|
|
|
|
|
|
|
+ * @param string|null $addressCity
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setAddressCity($addressCity)
|
|
|
|
|
|
|
+ public function setAddressCity(?string $addressCity)
|
|
|
{
|
|
{
|
|
|
$this->addressCity = $addressCity;
|
|
$this->addressCity = $addressCity;
|
|
|
}
|
|
}
|
|
@@ -328,7 +327,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $postalCode
|
|
* @return string $postalCode
|
|
|
*/
|
|
*/
|
|
|
- public function getPostalCode()
|
|
|
|
|
|
|
+ public function getPostalCode(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->postalCode;
|
|
return $this->postalCode;
|
|
|
}
|
|
}
|
|
@@ -336,10 +335,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the postalCode
|
|
* Sets the postalCode
|
|
|
*
|
|
*
|
|
|
- * @param string $postalCode
|
|
|
|
|
|
|
+ * @param string|null $postalCode
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setPostalCode($postalCode)
|
|
|
|
|
|
|
+ public function setPostalCode(?string $postalCode)
|
|
|
{
|
|
{
|
|
|
$this->postalCode = $postalCode;
|
|
$this->postalCode = $postalCode;
|
|
|
}
|
|
}
|
|
@@ -347,22 +346,22 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Returns the streetAdress
|
|
* Returns the streetAdress
|
|
|
*
|
|
*
|
|
|
- * @return string $streetAdress
|
|
|
|
|
|
|
+ * @return string $streetAddress
|
|
|
*/
|
|
*/
|
|
|
- public function getStreetAdress()
|
|
|
|
|
|
|
+ public function getStreetAddress(): ?string
|
|
|
{
|
|
{
|
|
|
- return $this->streetAdress;
|
|
|
|
|
|
|
+ return $this->streetAddress;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Sets the streetAdress
|
|
* Sets the streetAdress
|
|
|
*
|
|
*
|
|
|
- * @param string $streetAdress
|
|
|
|
|
|
|
+ * @param string|null $streetAddress
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setStreetAdress($streetAdress)
|
|
|
|
|
|
|
+ public function setStreetAddress(?string $streetAddress)
|
|
|
{
|
|
{
|
|
|
- $this->streetAdress = $streetAdress;
|
|
|
|
|
|
|
+ $this->streetAddress = $streetAddress;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -370,7 +369,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return float $latitude
|
|
* @return float $latitude
|
|
|
*/
|
|
*/
|
|
|
- public function getLatitude()
|
|
|
|
|
|
|
+ public function getLatitude(): ?float
|
|
|
{
|
|
{
|
|
|
return $this->latitude;
|
|
return $this->latitude;
|
|
|
}
|
|
}
|
|
@@ -378,10 +377,9 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the latitude
|
|
* Sets the latitude
|
|
|
*
|
|
*
|
|
|
- * @param float $latitude
|
|
|
|
|
- * @return void
|
|
|
|
|
|
|
+ * @param float|null $latitude
|
|
|
*/
|
|
*/
|
|
|
- public function setLatitude($latitude)
|
|
|
|
|
|
|
+ public function setLatitude(?float $latitude)
|
|
|
{
|
|
{
|
|
|
$this->latitude = $latitude;
|
|
$this->latitude = $latitude;
|
|
|
}
|
|
}
|
|
@@ -391,7 +389,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return float $longitude
|
|
* @return float $longitude
|
|
|
*/
|
|
*/
|
|
|
- public function getLongitude()
|
|
|
|
|
|
|
+ public function getLongitude(): ?float
|
|
|
{
|
|
{
|
|
|
return $this->longitude;
|
|
return $this->longitude;
|
|
|
}
|
|
}
|
|
@@ -399,10 +397,9 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the longitude
|
|
* Sets the longitude
|
|
|
*
|
|
*
|
|
|
- * @param float $longitude
|
|
|
|
|
- * @return void
|
|
|
|
|
|
|
+ * @param float|null $longitude
|
|
|
*/
|
|
*/
|
|
|
- public function setLongitude($longitude)
|
|
|
|
|
|
|
+ public function setLongitude(?float $longitude)
|
|
|
{
|
|
{
|
|
|
$this->longitude = $longitude;
|
|
$this->longitude = $longitude;
|
|
|
}
|
|
}
|
|
@@ -412,7 +409,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $country
|
|
* @return string $country
|
|
|
*/
|
|
*/
|
|
|
- public function getCountry()
|
|
|
|
|
|
|
+ public function getCountry(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->country;
|
|
return $this->country;
|
|
|
}
|
|
}
|
|
@@ -420,10 +417,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the country
|
|
* Sets the country
|
|
|
*
|
|
*
|
|
|
- * @param string $country
|
|
|
|
|
|
|
+ * @param string|null $country
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setCountry($country)
|
|
|
|
|
|
|
+ public function setCountry(?string $country)
|
|
|
{
|
|
{
|
|
|
$this->country = $country;
|
|
$this->country = $country;
|
|
|
}
|
|
}
|
|
@@ -433,7 +430,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $logo
|
|
* @return string $logo
|
|
|
*/
|
|
*/
|
|
|
- public function getLogo()
|
|
|
|
|
|
|
+ public function getLogo(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->logo;
|
|
return $this->logo;
|
|
|
}
|
|
}
|
|
@@ -441,10 +438,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the logo
|
|
* Sets the logo
|
|
|
*
|
|
*
|
|
|
- * @param string $logo
|
|
|
|
|
|
|
+ * @param string|null $logo
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setLogo($logo)
|
|
|
|
|
|
|
+ public function setLogo(?string $logo)
|
|
|
{
|
|
{
|
|
|
$this->logo = $logo;
|
|
$this->logo = $logo;
|
|
|
}
|
|
}
|
|
@@ -454,7 +451,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $parentId
|
|
* @return string $parentId
|
|
|
*/
|
|
*/
|
|
|
- public function getParentId()
|
|
|
|
|
|
|
+ public function getParentId(): ?int
|
|
|
{
|
|
{
|
|
|
return $this->parentId;
|
|
return $this->parentId;
|
|
|
}
|
|
}
|
|
@@ -462,10 +459,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the parentName
|
|
* Sets the parentName
|
|
|
*
|
|
*
|
|
|
- * @param string $parentId
|
|
|
|
|
|
|
+ * @param int|null $parentId
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setParentId($parentId)
|
|
|
|
|
|
|
+ public function setParentId(?int $parentId)
|
|
|
{
|
|
{
|
|
|
$this->parentId = $parentId;
|
|
$this->parentId = $parentId;
|
|
|
}
|
|
}
|
|
@@ -475,7 +472,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $parentName
|
|
* @return string $parentName
|
|
|
*/
|
|
*/
|
|
|
- public function getParentName()
|
|
|
|
|
|
|
+ public function getParentName(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->parentName;
|
|
return $this->parentName;
|
|
|
}
|
|
}
|
|
@@ -483,10 +480,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the parentName
|
|
* Sets the parentName
|
|
|
*
|
|
*
|
|
|
- * @param string $parentName
|
|
|
|
|
|
|
+ * @param string|null $parentName
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setParentName($parentName)
|
|
|
|
|
|
|
+ public function setParentName(?string $parentName)
|
|
|
{
|
|
{
|
|
|
$this->parentName = $parentName;
|
|
$this->parentName = $parentName;
|
|
|
}
|
|
}
|
|
@@ -496,7 +493,7 @@ class Organization extends AbstractEntity
|
|
|
*
|
|
*
|
|
|
* @return string $parentSubdomain
|
|
* @return string $parentSubdomain
|
|
|
*/
|
|
*/
|
|
|
- public function getParentSubdomain()
|
|
|
|
|
|
|
+ public function getParentSubdomain(): ?string
|
|
|
{
|
|
{
|
|
|
return $this->parentSubdomain;
|
|
return $this->parentSubdomain;
|
|
|
}
|
|
}
|
|
@@ -504,10 +501,10 @@ class Organization extends AbstractEntity
|
|
|
/**
|
|
/**
|
|
|
* Sets the parentSubdomain
|
|
* Sets the parentSubdomain
|
|
|
*
|
|
*
|
|
|
- * @param string $parentSubdomain
|
|
|
|
|
|
|
+ * @param string|null $parentSubdomain
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
- public function setParentSubdomain($parentSubdomain)
|
|
|
|
|
|
|
+ public function setParentSubdomain(?string $parentSubdomain)
|
|
|
{
|
|
{
|
|
|
$this->parentSubdomain = $parentSubdomain;
|
|
$this->parentSubdomain = $parentSubdomain;
|
|
|
}
|
|
}
|