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 = []);