Browse Source

Add File::clear() to allow clearing and reusing/modifying file resolver

master
Adam Pippin 3 years ago
parent
commit
d167f08e24
  1. 10
      app/Engine/File.php

10
app/Engine/File.php

@ -57,4 +57,14 @@ class File
{
$this->paths[] = $path;
}
/**
* Clear all search paths.
*
* @return void
*/
public function clear(): void
{
$this->paths = [];
}
}

Loading…
Cancel
Save