protected function allWarehouseContent()
    {
        $warehouseContent = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($this->getWarehousePath()));
        $warehouseContent = iterator_to_array($warehouseContent);
        $warehouseContent = array_map(function (SplFileInfo $file) {
            return $file->getPathname();
        },
            $warehouseContent);

        return $warehouseContent;
    }