lib/MwbExporter/Object/YAML.php
protected function canBeInlined($value)
    {
        if (!is_array($value) || $this->isKeysNumeric($value)) {
            return false;
        }
        foreach ($value as $v) {
            if (is_array($v)) {
                return false;
            }
        }

        return true;
    }
protected function canBeInlined($value)
    {
        if (!is_array($value) || $this->isKeysNumeric($value)) {
            return false;
        }
        foreach ($value as $v) {
            if (is_array($v)) {
                return false;
            }
        }

        return true;
    }
protected function canBeInlined ( $ value ) { if ( ! is_array ( $ value ) || $ this -> isKeysNumeric ( $ value ) ) { return false ; } foreach ( $ value as $ v ) { if ( is_array ( $ v ) ) { return false ; } } return true ; }
Check if value can be writen as inline array using curly brace.

@param array $value
@return boolean
Check if value can be writen as inline array using curly brace .