public function __construct() { $this->vertices = new \SplObjectStorage(); $this->walking = new \SplObjectStorage(); }