src/ministruts/ActionMapping.php
public function setName($name) {
        if ($this->configured)          throw new IllegalStateException('Configuration is frozen');
        if (!strlen($name=trim($name))) throw new StrutsConfigException('<mapping name="'.func_get_arg(0).'"'.($this->path ? ' path="'.$this->path.'"':'').': Illegal name (empty value).');

        $this->name = $name;
        return $this;
    }
public function setName($name) {
        if ($this->configured)          throw new IllegalStateException('Configuration is frozen');
        if (!strlen($name=trim($name))) throw new StrutsConfigException('<mapping name="'.func_get_arg(0).'"'.($this->path ? ' path="'.$this->path.'"':'').': Illegal name (empty value).');

        $this->name = $name;
        return $this;
    }
public function setName ( $ name ) { if ( $ this -> configured ) throw new IllegalStateException ( 'Configuration is frozen' ) ; if ( ! strlen ( $ name = trim ( $ name ) ) ) throw new StrutsConfigException ( '<mapping name="' . func_get_arg ( 0 ) . '"' . ( $ this -> path ? ' path="' . $ this -> path . '"' : '' ) . ': Illegal name (empty value).' ) ; $ this -> name = $ name ; return $ this ; }
Set the mapping's name.

@param  string $name

@return $this

@throws StrutsConfigException on configuration errors
Set the mapping s name .