public static function values($withEmpty = false)
    {
        return ($withEmpty ? ['' => static::emptyValue()] : []) + [
            static::METRIC => \Yii::t('app', 'International System (metre, kilogram)'),
            static::US => \Yii::t('app', 'United States (inch, pound)'),
        ];
    }
public static function values($withEmpty = false)
    {
        return ($withEmpty ? ['' => static::emptyValue()] : []) + [
            static::METRIC => \Yii::t('app', 'International System (metre, kilogram)'),
            static::US => \Yii::t('app', 'United States (inch, pound)'),
        ];
    }
public static function values ( $ withEmpty = false ) { return ( $ withEmpty ? [ '' => static :: emptyValue ( ) ] : [ ] ) + [ static :: METRIC => \ Yii :: t ( 'app' , 'International System (metre, kilogram)' ) , static :: US => \ Yii :: t ( 'app' , 'United States (inch, pound)' ) , ] ; }
Values of Measurement Systems
@param bool $withEmpty with empty value at first
@return array
Values of Measurement Systems