for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tests\AppBundle\Mock;
class FileCollection extends \AppBundle\Sync\Entity\FileCollection
{
public function clearIndexKeys()
foreach ($this->index as $key => &$value) {
$value = [];
}
public function clearIndex()
$this->index = [];