public function getProviderIcon()
    {
        $icons = $this->providerIcons;

        if (empty($icons)) {
            return null;
        }

        $sizes = [];

        foreach ($icons as $icon) {
            $sizes[$icon['url']] = $icon['size'];
        }

        return static::getBigger($sizes);
    }
public function getProviderIcon()
    {
        $icons = $this->providerIcons;

        if (empty($icons)) {
            return null;
        }

        $sizes = [];

        foreach ($icons as $icon) {
            $sizes[$icon['url']] = $icon['size'];
        }

        return static::getBigger($sizes);
    }
public function getProviderIcon ( ) { $ icons = $ this -> providerIcons ; if ( empty ( $ icons ) ) { return null ; } $ sizes = [ ] ; foreach ( $ icons as $ icon ) { $ sizes [ $ icon [ 'url' ] ] = $ icon [ 'size' ] ; } return static :: getBigger ( $ sizes ) ; }
Gets the best icon provider

@return string|null
Gets the best icon provider