Contao\FilesModel::findMultipleByBasepath PHP Method

findMultipleByBasepath() public static method

Find multiple files with the same base path
public static findMultipleByBasepath ( string $strPath, array $arrOptions = [] ) : Collection | FilesModel[] | FilesModel | null
$strPath string The base path
$arrOptions array An optional options array
return Contao\Model\Collection | FilesModel[] | FilesModel | null A collection of models or null if there are no matching files
    public static function findMultipleByBasepath($strPath, array $arrOptions = array())
    {
        $t = static::$strTable;
        return static::findBy(array("{$t}.path LIKE ?"), $strPath . '%', $arrOptions);
    }