Anemone::join()

Joins the data into a string.

Table of Contents
  1. Description
  2. Example

Description

Anemone::join(string $join = ', '): string;

This method is passed to Anemone::__invoke().

Example

$anemone = new Anemone([1, 2, 3, 4, 5]);

$test = $anemone->join(', '); // Returns `'1, 2, 3, 4, 5'`

Anemone::any()

Checks if at least one item in the data passes the test.

Anemone::is()

Filters the data so that only items that pass the test are left.

Anemone::join()

Joins the data into a string.

Anemone::not()

Filters the data so that only items that do not pass the test are left.

Anemone::pluck()

Returns a new data set contains values from the key on every item.