public function return(): \Pho\Lib\Graph\EntityInterface
    {
        if($this->predicate()->consumer()) {
            return $this->head()->node();
        }
        return $this;
    }
public function return(): \Pho\Lib\Graph\EntityInterface
    {
        if($this->predicate()->consumer()) {
            return $this->head()->node();
        }
        return $this;
    }
public function return ( ) : \ Pho \ Lib \ Graph \ EntityInterface { if ( $ this -> predicate ( ) -> consumer ( ) ) { return $ this -> head ( ) -> node ( ) ; } return $ this ; }
Returns the edge's value

If its predicate is consumer, then the head node, otherwise
the edge itself.

@return \Pho\Lib\Graph\EntityInterface
Returns the edge s value