for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\XMLSchema\XML\xs;
use SimpleSAML\XMLSchema\Type\MinOccursValue;
/**
* Trait grouping common functionality for elements that can hold a MinOccurs attribute.
*
* @package simplesamlphp/xml-common
*/
trait MinOccursTrait
{
* The minOccurs.
* @var \SimpleSAML\XMLSchema\Type\MinOccursValue|null
protected ?MinOccursValue $minOccurs = null;
* Collect the value of the minOccurs-property
* @return \SimpleSAML\XMLSchema\Type\MinOccursValue|null
public function getMinOccurs(): ?MinOccursValue
return $this->minOccurs;
}
* Set the value of the minOccurs-property
* @param \SimpleSAML\XMLSchema\Type\MinOccursValue|null $minOccurs
protected function setMinOccurs(?MinOccursValue $minOccurs): void
$this->minOccurs = $minOccurs;