for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\WSSecurity\XML\wsp;
use SimpleSAML\WSSecurity\Assert\Assert;
/**
* Trait grouping common functionality for elements that can hold a PolicyURIs attribute.
*
* @package simplesamlphp/ws-security
*/
trait PolicyURIsTrait
{
* The PolicyURIs.
* @var string[]
protected array $PolicyURIs;
* Collect the value of the PolicyURIs-property
* @return array
public function getPolicyURIs(): array
return $this->PolicyURIs;
}
* Set the value of the PolicyURIs-property
* @param array $PolicyURIs
protected function setPolicyURIs(array $PolicyURIs): void
Assert::allValidURI($PolicyURIs);
$this->PolicyURIs = $PolicyURIs;