Devise\Media\Files\Repository::buildSearchedItems PHP Method

buildSearchedItems() private method

Get
private buildSearchedItems ( $currentDirectory, $searchFor ) : array
$currentDirectory
$searchFor
return array
    private function buildSearchedItems($currentDirectory, $searchFor)
    {
        if (!$searchFor) {
            return array();
        }
        $files = $this->Filesystem->search($currentDirectory, $searchFor);
        return $this->buildMediaItemsFromFiles($files);
    }