source/Spiral/ORM/Entities/Loaders/ManyToManyLoader.php
protected function pivotKey(string $key)
    {
        if (!isset($this->schema[$key])) {
            return null;
        }

        return $this->pivotAlias() . '.' . $this->schema[$key];
    }
protected function pivotKey(string $key)
    {
        if (!isset($this->schema[$key])) {
            return null;
        }

        return $this->pivotAlias() . '.' . $this->schema[$key];
    }
protected function pivotKey ( string $ key ) { if ( ! isset ( $ this -> schema [ $ key ] ) ) { return null ; } return $ this -> pivotAlias ( ) . '.' . $ this -> schema [ $ key ] ; }
Key related to pivot table. Must include pivot table alias.

@see pivotKey()

@param string $key

@return null|string
Key related to pivot table . Must include pivot table alias .