protected function normalizeSizeOption(array &$options)
    {
        if (isset($options['size'])) {
            $size = explode('x', $options['size']);
            if (
                isset($size[0]) &&
                isset($size[1]) 
            ) {
                list($options['cols'], $options['rows']) = $size;
            }
            unset($options['size']);
        }
    }
protected function normalizeSizeOption(array &$options)
    {
        if (isset($options['size'])) {
            $size = explode('x', $options['size']);
            if (
                isset($size[0]) &&
                isset($size[1]) 
            ) {
                list($options['cols'], $options['rows']) = $size;
            }
            unset($options['size']);
        }
    }
protected function normalizeSizeOption ( array & $ options ) { if ( isset ( $ options [ 'size' ] ) ) { $ size = explode ( 'x' , $ options [ 'size' ] ) ; if ( isset ( $ size [ 0 ] ) && isset ( $ size [ 1 ] ) ) { list ( $ options [ 'cols' ] , $ options [ 'rows' ] ) = $ size ; } unset ( $ options [ 'size' ] ) ; } }
Checks for the "size" option, which is expected to be something like
`50x20`, and is splitted into "cols" and "rows".

@return void
Checks for the size option which is expected to be something like 50x20 and is splitted into cols and rows .