mk Campaign constructor protected to allow instantiating only by itself
This commit is contained in:
parent
50a63ee860
commit
0492687610
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ abstract class Campaign {
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function __construct(array $campaign, string $origin) {
|
protected function __construct(array $campaign, string $origin) {
|
||||||
|
|
||||||
$this->className = get_class($this);
|
$this->className = get_class($this);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue