Proper use of ArrayObject::getArrayCopy()

ArrayObject::toArray() does not exists
This commit is contained in:
Benoît Burnichon
2015-10-13 10:32:52 +02:00
parent a938b348b7
commit 80322ed957

View File

@@ -31,7 +31,7 @@ class module_console_systemClearCache extends Command
{ {
$finder = new Finder(); $finder = new Finder();
$in = $this->container['cache.paths']->toArray(); $in = $this->container['cache.paths']->getArrayCopy();
$finder $finder
->exclude('.git') ->exclude('.git')
->exclude('.svn') ->exclude('.svn')