library/rampage/core/xml/mergerule/UniqueAttributeRule.php
public function setAttribute($name)
    {
        if (!$this->isValidAttribute($name)) {
            throw new exception\InvalidArgumentException(sprintf(
                'Invalid attribute name "%s"', $name
            ));
        }

        $this->attribute = $name;
        return $this;
    }
public function setAttribute($name)
    {
        if (!$this->isValidAttribute($name)) {
            throw new exception\InvalidArgumentException(sprintf(
                'Invalid attribute name "%s"', $name
            ));
        }

        $this->attribute = $name;
        return $this;
    }
public function setAttribute ( $ name ) { if ( ! $ this -> isValidAttribute ( $ name ) ) { throw new exception \ InvalidArgumentException ( sprintf ( 'Invalid attribute name "%s"' , $ name ) ) ; } $ this -> attribute = $ name ; return $ this ; }
set attribute name

@param string $name
@throws \rampage\core\xml\InvalidArgumentException
set attribute name