public function setName($name = null)
    {
        $this->fileName = $this->caDataRoot . $name . DS;

        // Create folder for future certificate
        if(!file_exists($this->fileName))
        {
            mkdir($this->fileName, 0777, true);
        }

        return $this;
    }
public function setName($name = null)
    {
        $this->fileName = $this->caDataRoot . $name . DS;

        // Create folder for future certificate
        if(!file_exists($this->fileName))
        {
            mkdir($this->fileName, 0777, true);
        }

        return $this;
    }
public function setName ( $ name = null ) { $ this -> fileName = $ this -> caDataRoot . $ name . DS ; // Create folder for future certificate if ( ! file_exists ( $ this -> fileName ) ) { mkdir ( $ this -> fileName , 0777 , true ) ; } return $ this ; }
Function SetName
Set name of certificate file

@param null $name
@return $this
Function SetName Set name of certificate file