UniSharp/laravel-filemanager

View on GitHub
src/Events/FolderWasMoving.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace UniSharp\LaravelFilemanager\Events;

class FolderWasMoving
{
    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;
    }
}