public function getDefaultPropertyValue($className, $propertyName)
    {
        $reflection = new \ReflectionClass($className);
        $values = $reflection->getDefaultProperties();
        return $values[$propertyName] ?? null;
    }
public function getDefaultPropertyValue($className, $propertyName)
    {
        $reflection = new \ReflectionClass($className);
        $values = $reflection->getDefaultProperties();
        return $values[$propertyName] ?? null;
    }
public function getDefaultPropertyValue ( $ className , $ propertyName ) { $ reflection = new \ ReflectionClass ( $ className ) ; $ values = $ reflection -> getDefaultProperties ( ) ; return $ values [ $ propertyName ] ?? null ; }
Get default property value by property name

@param $className
@param $propertyName
@return null
Get default property value by property name