Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
phpstreams
Functions
PHP Class phpstreams\Functions
Author:
Bert Peters (
[email protected]
)
Afficher le fichier
Open project: bertptrs/phpstreams
Class Usage Examples
Méthodes publiques
Méthode
Description
combine
(
callable
$a
,
callable
$b
) :
callable
Combine two functions into one.
identity
( ) :
callable
Get an identity function.
Method Details
combine()
public
static
méthode
This method creates a function that effectively is b(a(value)).
public
static
combine
(
callable
$a
,
callable
$b
) :
callable
$a
callable
$b
callable
Résultat
callable
identity()
public
static
méthode
Get an identity function.
public
static
identity
( ) :
callable
Résultat
callable
A function that returns its first argument.