# \GraphDS\VertexVertex

Class defining a generic, extendable vertex object.

## Summary

Methods
Properties
Constants
__construct()
getValue()
setValue()
$neighbors
No constants found
No protected methods found
$value
N/A
No private methods found
No private properties found
N/A

File
  Vertex/Vertex.php
Package
  Default
Class hierarchy
  \GraphDS\Vertex\Vertex

## Tags

None found

## Properties

### $neighbors

    $neighbors : array

Array holding references to all neighboring vertices of this vertex.

#### Type

array

#

## Tags

None found

### $value

    $value : mixed

Variable holding the value of this vertex.

#### Type

mixed

#

## Tags

None found

## Methods

### __construct()

    __construct()

Constructor for general Vertex object.

#

Inherited from
  \GraphDS\Vertex\Vertex

## Tags

None found

### getValue()

    getValue() : mixed

Gets the value associated with this vertex.

#### Returns

mixed —

Value associated with this vertex

#

Inherited from
  \GraphDS\Vertex\Vertex

## Tags

None found

### setValue()

    setValue(mixed  $value = null)

Sets the value associated with this vertex.

#### Parameters

mixed | $value | Value to be associated with this vertex

#

Inherited from
  \GraphDS\Vertex\Vertex

## Tags

None found

### Vertex.php