src/Components/DbSchemaExtras.php
public function getSchemaVirtualRelationships($table_name, $select = '*')
    {
        return DbVirtualRelationship::whereServiceId($this->getServiceId())
            ->whereTable($table_name)->get((array)$select)->toArray();
    }
public function getSchemaVirtualRelationships($table_name, $select = '*')
    {
        return DbVirtualRelationship::whereServiceId($this->getServiceId())
            ->whereTable($table_name)->get((array)$select)->toArray();
    }
@param string         $table_name
@param string | array $select

@throws \InvalidArgumentException
@return array