src/ministruts/ActionMapping.php
public function setPath($path) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');
        if ($path[0] != '/')   throw new StrutsConfigException('<mapping'.($this->name ? ' name="'.$this->name.'"':'').' path="'.$path.'": Illegal path (value must start with a slash "/").');

        $this->path = $path;
        return $this;
    }
public function setPath($path) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');
        if ($path[0] != '/')   throw new StrutsConfigException('<mapping'.($this->name ? ' name="'.$this->name.'"':'').' path="'.$path.'": Illegal path (value must start with a slash "/").');

        $this->path = $path;
        return $this;
    }
public function setPath ( $ path ) { if ( $ this -> configured ) throw new IllegalStateException ( 'Configuration is frozen' ) ; if ( $ path [ 0 ] != '/' ) throw new StrutsConfigException ( '<mapping' . ( $ this -> name ? ' name="' . $ this -> name . '"' : '' ) . ' path="' . $ path . '": Illegal path (value must start with a slash "/").' ) ; $ this -> path = $ path ; return $ this ; }
Set the mapping's path.

@param  string $path

@return $this

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