feat (Schema.php) add method to get reference constraint from constraint