You've already forked symfony-playground
prop names
This commit is contained in:
@ -16,7 +16,7 @@ class MerBeDM extends MerService
|
||||
// private $id;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255)]
|
||||
private $activationCode;
|
||||
private $activation_code;
|
||||
|
||||
// public function getId(): ?int
|
||||
// {
|
||||
@ -25,12 +25,12 @@ class MerBeDM extends MerService
|
||||
|
||||
public function getActivationCode(): ?string
|
||||
{
|
||||
return $this->activationCode;
|
||||
return $this->activation_code;
|
||||
}
|
||||
|
||||
public function setActivationCode(string $activationCode): self
|
||||
{
|
||||
$this->activationCode = $activationCode;
|
||||
$this->activation_code = $activationCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ trait MerDM
|
||||
// private $id;
|
||||
|
||||
#[ORM\Column(type: 'integer')]
|
||||
private $offerId;
|
||||
private $offer_id;
|
||||
|
||||
// public function getId(): ?int
|
||||
// {
|
||||
@ -23,12 +23,12 @@ trait MerDM
|
||||
|
||||
public function getOfferId(): ?int
|
||||
{
|
||||
return $this->offerId;
|
||||
return $this->offer_id;
|
||||
}
|
||||
|
||||
public function setOfferId(int $offerId): self
|
||||
{
|
||||
$this->offerId = $offerId;
|
||||
$this->offer_id = $offerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ trait MerDT
|
||||
// private $id;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255)]
|
||||
private $serviceId;
|
||||
private $service_id;
|
||||
|
||||
// public function getId(): ?int
|
||||
// {
|
||||
@ -23,12 +23,12 @@ trait MerDT
|
||||
|
||||
public function getServiceId(): ?string
|
||||
{
|
||||
return $this->serviceId;
|
||||
return $this->service_id;
|
||||
}
|
||||
|
||||
public function setServiceId(string $serviceId): self
|
||||
{
|
||||
$this->serviceId = $serviceId;
|
||||
$this->service_id = $serviceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ class MerParaDM extends MerService
|
||||
// private $id;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255)]
|
||||
private $productCode;
|
||||
private $product_code;
|
||||
|
||||
// public function getId(): ?int
|
||||
// {
|
||||
@ -25,12 +25,12 @@ class MerParaDM extends MerService
|
||||
|
||||
public function getProductCode(): ?string
|
||||
{
|
||||
return $this->productCode;
|
||||
return $this->product_code;
|
||||
}
|
||||
|
||||
public function setProductCode(string $productCode): self
|
||||
{
|
||||
$this->productCode = $productCode;
|
||||
$this->product_code = $productCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ class MerParaDT extends MerService
|
||||
// private $id;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255)]
|
||||
private $apiKey;
|
||||
private $api_key;
|
||||
|
||||
// public function getId(): ?int
|
||||
// {
|
||||
@ -25,12 +25,12 @@ class MerParaDT extends MerService
|
||||
|
||||
public function getApiKey(): ?string
|
||||
{
|
||||
return $this->apiKey;
|
||||
return $this->api_key;
|
||||
}
|
||||
|
||||
public function setApiKey(string $apiKey): self
|
||||
{
|
||||
$this->apiKey = $apiKey;
|
||||
$this->api_key = $apiKey;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -20,10 +20,10 @@ trait MerSubBaseTrait
|
||||
private MerService $service;
|
||||
|
||||
#[ORM\Column(type: 'datetime_immutable')]
|
||||
private $subDate;
|
||||
private $sub_date;
|
||||
|
||||
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
|
||||
private $unsubDate;
|
||||
private $unsub_date;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
@ -56,24 +56,24 @@ trait MerSubBaseTrait
|
||||
|
||||
public function getSubDate(): ?\DateTimeImmutable
|
||||
{
|
||||
return $this->subDate;
|
||||
return $this->sub_date;
|
||||
}
|
||||
|
||||
public function setSubDate(\DateTimeImmutable $subDate): self
|
||||
{
|
||||
$this->subDate = $subDate;
|
||||
$this->sub_date = $subDate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUnsubDate(): ?\DateTimeImmutable
|
||||
{
|
||||
return $this->unsubDate;
|
||||
return $this->unsub_date;
|
||||
}
|
||||
|
||||
public function setUnsubDate(?\DateTimeImmutable $unsubDate): self
|
||||
{
|
||||
$this->unsubDate = $unsubDate;
|
||||
$this->unsub_date = $unsubDate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user