public function fire()
    {
        $filePath       = $this->stringToType($this->option('filepath'));
        $this->filePath = (is_string($filePath)) ? base_path($filePath) : null;

        $this->line('Backing up your file...');

        $backup = $this->editor->load($this->filePath)->backup()->getLatestBackup();

        $this->info("Your file was backed up successfully at path [{$backup['filepath']}].");
    }
public function fire()
    {
        $filePath       = $this->stringToType($this->option('filepath'));
        $this->filePath = (is_string($filePath)) ? base_path($filePath) : null;

        $this->line('Backing up your file...');

        $backup = $this->editor->load($this->filePath)->backup()->getLatestBackup();

        $this->info("Your file was backed up successfully at path [{$backup['filepath']}].");
    }
public function fire ( ) { $ filePath = $ this -> stringToType ( $ this -> option ( 'filepath' ) ) ; $ this -> filePath = ( is_string ( $ filePath ) ) ? base_path ( $ filePath ) : null ; $ this -> line ( 'Backing up your file...' ) ; $ backup = $ this -> editor -> load ( $ this -> filePath ) -> backup ( ) -> getLatestBackup ( ) ; $ this -> info ( "Your file was backed up successfully at path [{$backup['filepath']}]." ) ; }
Execute the console command.

@return mixed
Execute the console command .