public function getFlex($size = null)
    {
        if (is_null($size)) {
            $size = $this->baseSize;
        }
        $getter = $size . 'Columns';
        $flex = $this->getMaxColumns($size) - $this->{$getter};
        if ($flex < 0) {
            return 0;
        }

        return $flex;
    }
public function getFlex($size = null)
    {
        if (is_null($size)) {
            $size = $this->baseSize;
        }
        $getter = $size . 'Columns';
        $flex = $this->getMaxColumns($size) - $this->{$getter};
        if ($flex < 0) {
            return 0;
        }

        return $flex;
    }
public function getFlex ( $ size = null ) { if ( is_null ( $ size ) ) { $ size = $ this -> baseSize ; } $ getter = $ size . 'Columns' ; $ flex = $ this -> getMaxColumns ( $ size ) - $ this -> { $ getter } ; if ( $ flex < 0 ) { return 0 ; } return $ flex ; }
Get flex.

@param [[@doctodo param_type:size]] $size [[@doctodo param_description:size]] [optional]

@return [[@doctodo return_type:getFlex]] [[@doctodo return_description:getFlex]]
Get flex .