src/LightSaml/Model/Metadata/EntityDescriptor.php 1 location
|
@@ 86-94 (lines=9) @@
|
| 83 |
|
* |
| 84 |
|
* @return EntityDescriptor |
| 85 |
|
*/ |
| 86 |
|
public function addContactPerson(ContactPerson $contactPerson) |
| 87 |
|
{ |
| 88 |
|
if (false == is_array($this->contactPersons)) { |
| 89 |
|
$this->contactPersons = array(); |
| 90 |
|
} |
| 91 |
|
$this->contactPersons[] = $contactPerson; |
| 92 |
|
|
| 93 |
|
return $this; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
/** |
| 97 |
|
* @return ContactPerson[]|null |
src/LightSaml/Model/Metadata/RoleDescriptor.php 1 location
|
@@ 79-87 (lines=9) @@
|
| 76 |
|
* |
| 77 |
|
* @return RoleDescriptor |
| 78 |
|
*/ |
| 79 |
|
public function addContactPerson(ContactPerson $contactPerson) |
| 80 |
|
{ |
| 81 |
|
if (false == is_array($this->contactPersons)) { |
| 82 |
|
$this->contactPersons = array(); |
| 83 |
|
} |
| 84 |
|
$this->contactPersons[] = $contactPerson; |
| 85 |
|
|
| 86 |
|
return $this; |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
/** |
| 90 |
|
* @return \LightSaml\Model\Metadata\ContactPerson[]|null |