You've already forked symfony-playground
prop names
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user