예제 #1
0
 /**
  * @param string $path
  * @throws FileDoNotExistsException
  */
 public function __construct($path)
 {
     $filemanager = new Filemanager();
     if (!$filemanager->fileExists($path)) {
         throw new FileDoNotExistsException();
     }
     $this->path = $path;
 }