public function transformToArray()
    {
        $transformedEd               = [];
        $transformedEd['collection'] = $this->getRelation();
        $transformedEd['from']       = $this->getFromCollections();
        $transformedEd['to']         = $this->getToCollections();

        return $transformedEd;
    }
public function transformToArray()
    {
        $transformedEd               = [];
        $transformedEd['collection'] = $this->getRelation();
        $transformedEd['from']       = $this->getFromCollections();
        $transformedEd['to']         = $this->getToCollections();

        return $transformedEd;
    }
public function transformToArray ( ) { $ transformedEd = [ ] ; $ transformedEd [ 'collection' ] = $ this -> getRelation ( ) ; $ transformedEd [ 'from' ] = $ this -> getFromCollections ( ) ; $ transformedEd [ 'to' ] = $ this -> getToCollections ( ) ; return $ transformedEd ; }
Transforms an edge definition to an array.

@return array
@since     2.2
Transforms an edge definition to an array .