src/RuleSet.php
private function getSetDefinition($name)
    {
        if (!isset($this->setDefinitions[$name])) {
            throw new \InvalidArgumentException(sprintf('Set "%s" does not exist.', $name));
        }

        return $this->setDefinitions[$name];
    }
private function getSetDefinition($name)
    {
        if (!isset($this->setDefinitions[$name])) {
            throw new \InvalidArgumentException(sprintf('Set "%s" does not exist.', $name));
        }

        return $this->setDefinitions[$name];
    }
private function getSetDefinition ( $ name ) { if ( ! isset ( $ this -> setDefinitions [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Set "%s" does not exist.' , $ name ) ) ; } return $ this -> setDefinitions [ $ name ] ; }
@param string $name name of set

@return array
@param string $name name of set