src/Thumbnail.php
public static function getUnusedFiles(array $path): array
    {
        // load thumbnail files
        $thumbFiles = self::getThumbFiles();

        // load path files
        $pathFiles = self::getPathFiles($path);

        return $diff = array_diff($pathFiles, $thumbFiles);
    }
public static function getUnusedFiles(array $path): array
    {
        // load thumbnail files
        $thumbFiles = self::getThumbFiles();

        // load path files
        $pathFiles = self::getPathFiles($path);

        return $diff = array_diff($pathFiles, $thumbFiles);
    }
public static function getUnusedFiles ( array $ path ) : array { // load thumbnail files $ thumbFiles = self :: getThumbFiles ( ) ; // load path files $ pathFiles = self :: getPathFiles ( $ path ) ; return $ diff = array_diff ( $ pathFiles , $ thumbFiles ) ; }
Get unused files.

@param array $path
@return array
Get unused files .