source/Spiral/ORM/Entities/Loaders/RelationLoader.php
protected function getAlias(): string
    {
        if (!empty($this->options['using'])) {
            //We are using another relation (presumably defined by with() to load data).
            return $this->options['using'];
        }

        if (!empty($this->options['alias'])) {
            return $this->options['alias'];
        }

        throw new LoaderException("Unable to resolve loader alias");
    }
protected function getAlias(): string
    {
        if (!empty($this->options['using'])) {
            //We are using another relation (presumably defined by with() to load data).
            return $this->options['using'];
        }

        if (!empty($this->options['alias'])) {
            return $this->options['alias'];
        }

        throw new LoaderException("Unable to resolve loader alias");
    }
protected function getAlias ( ) : string { if ( ! empty ( $ this -> options [ 'using' ] ) ) { //We are using another relation (presumably defined by with() to load data). return $ this -> options [ 'using' ] ; } if ( ! empty ( $ this -> options [ 'alias' ] ) ) { return $ this -> options [ 'alias' ] ; } throw new LoaderException ( "Unable to resolve loader alias" ) ; }
Relation table alias.

@return string
Relation table alias .