-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Zonneveld
committed
Feb 10, 2023
1 parent
d7569be
commit cfdf312
Showing
11 changed files
with
78 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
<?php | ||
|
||
namespace Piggy\Api\Models\Contacts; | ||
|
||
/** | ||
* Class Option | ||
* @package Piggy\Api\Models | ||
*/ | ||
class Option | ||
{ | ||
/** | ||
* @var string|null | ||
*/ | ||
public $label; | ||
|
||
/** | ||
* @var string|null | ||
*/ | ||
public $value; | ||
|
||
public function __construct(?string $label, ?string $value) | ||
{ | ||
$this->label = $label; | ||
$this->value = $value; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getLabel(): string | ||
{ | ||
return $this->label; | ||
} | ||
|
||
/** | ||
* @param string|null $label | ||
* @return void | ||
*/ | ||
public function setLabel(string $label): void | ||
{ | ||
$this->label = $label; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getValue(): string | ||
{ | ||
return $this->value; | ||
} | ||
|
||
/** | ||
* @param string|null $value | ||
* @return void | ||
*/ | ||
public function setValue(string $value): void | ||
{ | ||
$this->value = $value; | ||
} | ||
|
||
|
||
} | ||
// | ||
//namespace Piggy\Api\Models\Contacts; | ||
// | ||
///** | ||
// * Class Option | ||
// * @package Piggy\Api\Models | ||
// */ | ||
//class Option | ||
//{ | ||
// /** | ||
// * @var string|null | ||
// */ | ||
// public $label; | ||
// | ||
// /** | ||
// * @var string|null | ||
// */ | ||
// public $value; | ||
// | ||
// public function __construct(?string $label, ?string $value) | ||
// { | ||
// $this->label = $label; | ||
// $this->value = $value; | ||
// } | ||
// | ||
// /** | ||
// * @return string|null | ||
// */ | ||
// public function getLabel(): string | ||
// { | ||
// return $this->label; | ||
// } | ||
// | ||
// /** | ||
// * @param string|null $label | ||
// * @return void | ||
// */ | ||
// public function setLabel(string $label): void | ||
// { | ||
// $this->label = $label; | ||
// } | ||
// | ||
// /** | ||
// * @return string|null | ||
// */ | ||
// public function getValue(): string | ||
// { | ||
// return $this->value; | ||
// } | ||
// | ||
// /** | ||
// * @param string|null $value | ||
// * @return void | ||
// */ | ||
// public function setValue(string $value): void | ||
// { | ||
// $this->value = $value; | ||
// } | ||
// | ||
// | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters