<?php

namespace UniSharp\LaravelFilemanager\Events;

class FileIsRenaming
{
    private $old_path;
    private $new_path;

    public function __construct($old_path, $new_path)
    {
        $this->old_path = $old_path;
        $this->new_path = $new_path;
    }

    /**
     * @return string
     */
    public function oldPath()
    {
        return $this->old_path;
    }

    public function newPath()
    {
        return $this->new_path;
    }
}
