ToolRepository
in package
implements
Countable
Unique collection of {@see Tool}.
Tags
Table of Contents
Interfaces
- Countable
Properties
Methods
- __construct() : mixed
- addItems() : $this
- count() : int
- getItems() : array<string|int, Tool>
Properties
$items
private
array<string|int, Tool>
$items
= []
Tags
Methods
__construct()
public
__construct(Tool ...$items) : mixed
Parameters
- $items : Tool
addItems()
public
addItems(Tool ...$items) : $this
Parameters
- $items : Tool
Return values
$thiscount()
public
count() : int
Tags
Return values
intgetItems()
public
getItems() : array<string|int, Tool>