src/Service/Cdn.php
public function getPermittedDimensions(): array
    {
        $aDimensions = array_map(function ($sDimension) {
            return (object) array_combine(
                ['width', 'height'],
                array_map('intval', explode('x', $sDimension))
            );
        }, $this->aPermittedDimensions);

        arraySortMulti($aDimensions, 'width');

        return array_values($aDimensions);
    }
public function getPermittedDimensions(): array
    {
        $aDimensions = array_map(function ($sDimension) {
            return (object) array_combine(
                ['width', 'height'],
                array_map('intval', explode('x', $sDimension))
            );
        }, $this->aPermittedDimensions);

        arraySortMulti($aDimensions, 'width');

        return array_values($aDimensions);
    }
public function getPermittedDimensions ( ) : array { $ aDimensions = array_map ( function ( $ sDimension ) { return ( object ) array_combine ( [ 'width' , 'height' ] , array_map ( 'intval' , explode ( 'x' , $ sDimension ) ) ) ; } , $ this -> aPermittedDimensions ) ; arraySortMulti ( $ aDimensions , 'width' ) ; return array_values ( $ aDimensions ) ; }
Return the permitted dimensions for this installation

@return \stdClass[]
Return the permitted dimensions for this installation