PHP Class Rx\Operator\MapOperator

Inheritance: implements Rx\Operator\OperatorInterface
ファイルを表示 Open project: ReactiveX/RxPHP

Public Methods

Method Description
__construct ( callable $selector ) MapOperator constructor.
__invoke ( Rx\ObservableInterface $observable, Rx\ObserverInterface $observer, Rx\SchedulerInterface $scheduler = null ) : Rx\DisposableInterface

Method Details

__construct() public method

MapOperator constructor.
public __construct ( callable $selector )
$selector callable

__invoke() public method

public __invoke ( Rx\ObservableInterface $observable, Rx\ObserverInterface $observer, Rx\SchedulerInterface $scheduler = null ) : Rx\DisposableInterface
$observable Rx\ObservableInterface
$observer Rx\ObserverInterface
$scheduler Rx\SchedulerInterface
return Rx\DisposableInterface