public function copyToAppliedDir($file)
    {
        if (false === @copy($file->getPathName(), $this->appliedFilesDir . '/' . $file->getFileName())) {
            throw new RuntimeException('cannot copy the sql file to applied directory. check the <info>'. $this->appliedFilesDir . '</info> directory.');
        }
    }
public function copyToAppliedDir($file)
    {
        if (false === @copy($file->getPathName(), $this->appliedFilesDir . '/' . $file->getFileName())) {
            throw new RuntimeException('cannot copy the sql file to applied directory. check the <info>'. $this->appliedFilesDir . '</info> directory.');
        }
    }
public function copyToAppliedDir ( $ file ) { if ( false === @ copy ( $ file -> getPathName ( ) , $ this -> appliedFilesDir . '/' . $ file -> getFileName ( ) ) ) { throw new RuntimeException ( 'cannot copy the sql file to applied directory. check the <info>' . $ this -> appliedFilesDir . '</info> directory.' ) ; } }
copy applied sql file to the applied directory.

@param SplFileInfo $file
copy applied sql file to the applied directory .