yii2tech\balance\ManagerInterface::transfer PHP 메소드

transfer() 공개 메소드

Transfers amount from one account to the other one.
public transfer ( array | mixed $from, array | mixed $to, integer | float $amount, array $data = [] ) : array
$from array | mixed account ID or filter condition.
$to array | mixed account ID or filter condition.
$amount integer | float amount.
$data array extra data, which should be associated with the transaction.
리턴 array list of created transaction IDs.
    public function transfer($from, $to, $amount, $data = []);