src/Verification/Cardinality.php
public function setIsAlways(bool $isAlways): void
    {
        if ($isAlways && $this->isNever()) {
            throw new InvalidCardinalityStateException();
        }

        $this->isAlways = $isAlways;
    }
public function setIsAlways(bool $isAlways): void
    {
        if ($isAlways && $this->isNever()) {
            throw new InvalidCardinalityStateException();
        }

        $this->isAlways = $isAlways;
    }
public function setIsAlways ( bool $ isAlways ) : void { if ( $ isAlways && $ this -> isNever ( ) ) { throw new InvalidCardinalityStateException ( ) ; } $ this -> isAlways = $ isAlways ; }
Turn 'always' on or off.

@param bool $isAlways True to enable 'always'.

@throws InvalidCardinalityException If the cardinality is invalid.
Turn always on or off .