Object describing a collection of link relations

### Methods

## Add a link

    add(\PhlyRestfully\Link $link, bool $overwrite) : \PhlyRestfully\LinkCollection

fluent | This method is part of a fluent interface and will return the same instance

### Parameters

#### $link

`\PhlyRestfully\Link`

#### $overwrite

`bool`

### Returns

`\PhlyRestfully\LinkCollection`

## Return a count of link relations

    count() : int

### Returns

`int`

## Retrieve a link relation

    get(string $relation) : \PhlyRestfully\Link | array

### Parameters

#### $relation

`string`

### Returns

`\PhlyRestfully\Link` `array`

## Retrieve internal iterator

    getIterator() : \ArrayIterator

### Returns

`\ArrayIterator`

## Does a given link relation exist?

    has(string $relation) : bool

### Parameters

#### $relation

`string`

### Returns

`bool`

## Remove a given link relation

    remove(string $relation) : bool

### Parameters

#### $relation

`string`

### Returns

`bool`