src/console/DoController.php
public function fetchUniqueIconsList()
    {
        $md5s = [];
        foreach ($this->getIconsList() as $path => $name) {
            $hash = md5_file($path);
            if (in_array($hash, $md5s, true)) {
                continue;
            }
            $md5s[$path] = $hash;
            $list[$path] = $name;
        }

        return $list;
    }
public function fetchUniqueIconsList()
    {
        $md5s = [];
        foreach ($this->getIconsList() as $path => $name) {
            $hash = md5_file($path);
            if (in_array($hash, $md5s, true)) {
                continue;
            }
            $md5s[$path] = $hash;
            $list[$path] = $name;
        }

        return $list;
    }
public function fetchUniqueIconsList ( ) { $ md5s = [ ] ; foreach ( $ this -> getIconsList ( ) as $ path => $ name ) { $ hash = md5_file ( $ path ) ; if ( in_array ( $ hash , $ md5s , true ) ) { continue ; } $ md5s [ $ path ] = $ hash ; $ list [ $ path ] = $ name ; } return $ list ; }
Fetches list of unique icons.
@return array
Fetches list of unique icons .