You are here

public function PhoneInternationalCommands::drushMoveDir in International Phone 3.x

Change directory name.

Parameters

string $src: The origin filename or directory.

string $dest: The new filename or directory.

1 call to PhoneInternationalCommands::drushMoveDir()
PhoneInternationalCommands::plugin in src/Commands/PhoneInternationalCommands.php
Download and install the Phone International plugin.

File

src/Commands/PhoneInternationalCommands.php, line 166

Class

PhoneInternationalCommands
A Drush commandfile.

Namespace

Drupal\phone_international\Commands

Code

public function drushMoveDir($src, $dest) {
  $fs = new Filesystem();
  $fs
    ->rename($src, $dest, TRUE);
}