src/Mapper/BaseGroupedMapper.php
public function ifFalse($bool)
    {
        if (null !== $this->apply) {
            throw new \RuntimeException('Cannot nest ifTrue or ifFalse call');
        }

        $this->apply = (false === $bool);

        return $this;
    }
public function ifFalse($bool)
    {
        if (null !== $this->apply) {
            throw new \RuntimeException('Cannot nest ifTrue or ifFalse call');
        }

        $this->apply = (false === $bool);

        return $this;
    }
public function ifFalse ( $ bool ) { if ( null !== $ this -> apply ) { throw new \ RuntimeException ( 'Cannot nest ifTrue or ifFalse call' ) ; } $ this -> apply = ( false === $ bool ) ; return $ this ; }
Only nested add if the condition match false.

@param bool $bool

@throws \RuntimeException

@return $this
Only nested add if the condition match false .