protected function validateOptions()
    {
        if (!$this->hasOption('root_path') || empty($this->getOption('root_path'))) {
            throw new \common_exception_MissingParameter('root_path', __CLASS__);
        }
        if (!$this->hasOption('file_path') || empty($this->getOption('file_path'))) {
            throw new \common_exception_MissingParameter('file_path', __CLASS__);
        }
    }
protected function validateOptions()
    {
        if (!$this->hasOption('root_path') || empty($this->getOption('root_path'))) {
            throw new \common_exception_MissingParameter('root_path', __CLASS__);
        }
        if (!$this->hasOption('file_path') || empty($this->getOption('file_path'))) {
            throw new \common_exception_MissingParameter('file_path', __CLASS__);
        }
    }
protected function validateOptions ( ) { if ( ! $ this -> hasOption ( 'root_path' ) || empty ( $ this -> getOption ( 'root_path' ) ) ) { throw new \ common_exception_MissingParameter ( 'root_path' , __CLASS__ ) ; } if ( ! $ this -> hasOption ( 'file_path' ) || empty ( $ this -> getOption ( 'file_path' ) ) ) { throw new \ common_exception_MissingParameter ( 'file_path' , __CLASS__ ) ; } }
Validate require option e.q. file_path & root_path

@throws \common_exception_MissingParameter
Validate require option e . q . file_path & root_path