src/Core/Theme/ImageSize.php
protected function parse(array $sizes)
    {
        $images = [];

        foreach ($sizes as $slug => $properties) {
            list($width, $height, $crop, $label) = $this->parseProperties($properties, $slug);

            $images[$slug] = [
                'width' => $width,
                'height' => $height,
                'crop' => $crop,
                'label' => $label
            ];
        }

        return $images;
    }
protected function parse(array $sizes)
    {
        $images = [];

        foreach ($sizes as $slug => $properties) {
            list($width, $height, $crop, $label) = $this->parseProperties($properties, $slug);

            $images[$slug] = [
                'width' => $width,
                'height' => $height,
                'crop' => $crop,
                'label' => $label
            ];
        }

        return $images;
    }
protected function parse ( array $ sizes ) { $ images = [ ] ; foreach ( $ sizes as $ slug => $ properties ) { list ( $ width , $ height , $ crop , $ label ) = $ this -> parseProperties ( $ properties , $ slug ) ; $ images [ $ slug ] = [ 'width' => $ width , 'height' => $ height , 'crop' => $ crop , 'label' => $ label ] ; } return $ images ; }
Parse the images sizes.

@param array $sizes

@return array
Parse the images sizes .