Documentation

Transformable

Table of Contents

Methods

transform()  : static
Apply a transformation to this instance and return a new instance.

Methods

transform()

Apply a transformation to this instance and return a new instance.

public transform(callable(static): static $callback) : static

This method MUST retain the state of the current instance, and return a new instance of the same type.

Parameters
$callback : callable(static): static
Return values
static

        
On this page

Search results