protected function copyBrokenImage($path)
    {
        try {
            $thumbnailDir = dirname($path);
            if (!File::isDirectory($thumbnailDir) && File::makeDirectory($thumbnailDir, 0777, true) === false) {
                return;
            }

            File::copy($this->getBrokenImagePath(), $path);
        }
        catch (Exception $ex) {
            traceLog($ex->getMessage());
        }
    }
protected function copyBrokenImage($path)
    {
        try {
            $thumbnailDir = dirname($path);
            if (!File::isDirectory($thumbnailDir) && File::makeDirectory($thumbnailDir, 0777, true) === false) {
                return;
            }

            File::copy($this->getBrokenImagePath(), $path);
        }
        catch (Exception $ex) {
            traceLog($ex->getMessage());
        }
    }
protected function copyBrokenImage ( $ path ) { try { $ thumbnailDir = dirname ( $ path ) ; if ( ! File :: isDirectory ( $ thumbnailDir ) && File :: makeDirectory ( $ thumbnailDir , 0777 , true ) === false ) { return ; } File :: copy ( $ this -> getBrokenImagePath ( ) , $ path ) ; } catch ( Exception $ ex ) { traceLog ( $ ex -> getMessage ( ) ) ; } }
Copy broken image to destination
@param string $path
@return void
Copy broken image to destination