protected function getNewFilename()
    {
        $filename = trim($this->option('resource-filename')) ?: Helpers::makeJsonFileName($this->getModelName());

        return str_finish($filename, '.json');
    }
protected function getNewFilename()
    {
        $filename = trim($this->option('resource-filename')) ?: Helpers::makeJsonFileName($this->getModelName());

        return str_finish($filename, '.json');
    }
protected function getNewFilename ( ) { $ filename = trim ( $ this -> option ( 'resource-filename' ) ) ? : Helpers :: makeJsonFileName ( $ this -> getModelName ( ) ) ; return str_finish ( $ filename , '.json' ) ; }
Gets the destenation filename.

@return string
Gets the destenation filename .