Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
phpstreams
Functions
PHP Класс phpstreams\Functions
Автор:
Bert Peters (
[email protected]
)
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод
Описание
combine
(
callable
$a
,
callable
$b
) :
callable
Combine two functions into one.
identity
( ) :
callable
Get an identity function.
Описание методов
combine()
публичный
статический
Метод
This method creates a function that effectively is b(a(value)).
public
static
combine
(
callable
$a
,
callable
$b
) :
callable
$a
callable
$b
callable
Результат
callable
identity()
публичный
статический
Метод
Get an identity function.
public
static
identity
( ) :
callable
Результат
callable
A function that returns its first argument.