Skip to content

Commit 3218ec3

Browse files
committed
Add test & live clientId to Project
1 parent 504c50c commit 3218ec3

File tree

2 files changed

+61
-4
lines changed

2 files changed

+61
-4
lines changed

src/Entity/Project.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,20 @@ class Project implements ProjectInterface
153153
*/
154154
protected $testApiKeySapi3;
155155

156+
/**
157+
* @ORM\Column(name="live_client_id", type="string", length=255, nullable=true)
158+
* @var ?string
159+
* @Type("string")
160+
*/
161+
protected $liveClientId;
162+
163+
/**
164+
* @ORM\Column(name="test_client_id", type="string", length=255, nullable=true)
165+
* @var ?string
166+
* @Type("string")
167+
*/
168+
protected $testClientId;
169+
156170
/**
157171
* @ORM\Column(name="description", type="string", length=255, nullable=true)
158172
* @var string
@@ -312,6 +326,42 @@ public function setTestApiKeySapi3(string $testApiKeySapi3): Project
312326
return $this;
313327
}
314328

329+
/**
330+
* @return string
331+
*/
332+
public function getLiveClientId()
333+
{
334+
return $this->liveClientId;
335+
}
336+
337+
/**
338+
* @param string $liveClientId
339+
* @return Project
340+
*/
341+
public function setLiveClientId(string $liveClientId)
342+
{
343+
$this->liveClientId = $liveClientId;
344+
return $this;
345+
}
346+
347+
/**
348+
* @return string
349+
*/
350+
public function getTestClientId()
351+
{
352+
return $this->testClientId;
353+
}
354+
355+
/**
356+
* @param string $testApiKeySapi3
357+
* @return Project
358+
*/
359+
public function setTestClientId(string $testClientId): Project
360+
{
361+
$this->testClientId = $testClientId;
362+
return $this;
363+
}
364+
315365
/**
316366
* @return int
317367
*/

src/Entity/ProjectInterface.php

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,19 @@ public function setLiveApiKeySapi3(string $liveApiKeySapi3);
6161
*/
6262
public function getTestApiKeySapi3();
6363

64+
public function getLiveClientId();
65+
6466
/**
65-
* Set the test search api 3 key.
66-
*
67-
* @param string $liveApiKeySapi3
67+
* @param string $liveClientId
68+
*/
69+
public function setLiveClientId(string $liveClientId);
70+
71+
public function getTestClientId();
72+
73+
/**
74+
* @param string $testClientId
6875
*/
69-
public function setTestApiKeySapi3(string $testApiKeySapi3);
76+
public function setTestClientId(string $testClientId);
7077

7178
/**
7279
* @return int

0 commit comments

Comments
 (0)