set_shape( static::create_shape_with_units( $units ) ); } private static function create_shape_with_units( $units = null ) { $size_prop_type = Size_Prop_Type::make(); if ( null !== $units ) { $size_prop_type->units( $units ); } return [ 'block-start' => ( clone $size_prop_type )->description( 'The size for the block-start (top in LTR languages) side in Size PropType format.' ), 'inline-end' => ( clone $size_prop_type )->description( 'The size for the inline-end (right in LTR languages) side in Size PropType format.' ), 'block-end' => ( clone $size_prop_type )->description( 'The size for the block-end (bottom in LTR languages) side in Size PropType format.' ), 'inline-start' => ( clone $size_prop_type )->description( 'The size for the inline-start (left in LTR languages) side in Size PropType format.' ), ]; } }