Anemone::__toString()

Proxy for the current object, casted as a string.

Table of Contents
  1. Description
  2. Example

Description

Anemone::__toString(): string;

This method will be called when you cast an Anemone instance as a string.

Example

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

echo $anemone; // Returns `'1;2;3;4;5'`

Anemone::__toString()

Proxy for the current object, casted as a string.

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::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.