final protected static function get_property_default_value($property) {
        $properties = static::properties_definition();
        if (!isset($properties[$property]['default'])) {
            return null;
        }
        $value = $properties[$property]['default'];
        if ($value instanceof \Closure) {
            return $value();
        }
        return $value;
    }
final protected static function get_property_default_value($property) {
        $properties = static::properties_definition();
        if (!isset($properties[$property]['default'])) {
            return null;
        }
        $value = $properties[$property]['default'];
        if ($value instanceof \Closure) {
            return $value();
        }
        return $value;
    }
final protected static function get_property_default_value ( $ property ) { $ properties = static :: properties_definition ( ) ; if ( ! isset ( $ properties [ $ property ] [ 'default' ] ) ) { return null ; } $ value = $ properties [ $ property ] [ 'default' ] ; if ( $ value instanceof \ Closure ) { return $ value ( ) ; } return $ value ; }
Gets the default value for a property.

This assumes that the property exists.

@param string $property The property name.
@return mixed
Gets the default value for a property .