/**
  * Constructor
  *
  * @param Graph\Vertex $vertex the vertex that caused this error
  */
 public function __construct(Graph\Vertex $vertex)
 {
     parent::__construct($vertex->__toString());
 }
Esempio n. 2
0
 /**
  * PHP 5>=5.4.0 Implementation
  * @param Vertex $object
  *
  * @return mixed|string
  */
 public function getHash($object)
 {
     return $object->__toString();
 }