src/Auth/Connect.php
public function setTransferFunds($transfer_funds)
    {
        if (!is_bool($transfer_funds)) {
            throw new InvalidArgumentException('$transfer_funds deve ser boolean, foi passado '.gettype($transfer_funds));
        }

        if ($transfer_funds === true) {
            $this->setScope(self::TRANSFER_FUNDS);
        }

        return $this;
    }
public function setTransferFunds($transfer_funds)
    {
        if (!is_bool($transfer_funds)) {
            throw new InvalidArgumentException('$transfer_funds deve ser boolean, foi passado '.gettype($transfer_funds));
        }

        if ($transfer_funds === true) {
            $this->setScope(self::TRANSFER_FUNDS);
        }

        return $this;
    }
public function setTransferFunds ( $ transfer_funds ) { if ( ! is_bool ( $ transfer_funds ) ) { throw new InvalidArgumentException ( '$transfer_funds deve ser boolean, foi passado ' . gettype ( $ transfer_funds ) ) ; } if ( $ transfer_funds === true ) { $ this -> setScope ( self :: TRANSFER_FUNDS ) ; } return $ this ; }
Permission for bank transfers or for Moip accounts through the TRANSFERS endpoint.

@param bool $transfer_funds

@throws \Moip\Exceptions\InvalidArgumentException

@return \Moip\Auth\Connect $this
Permission for bank transfers or for Moip accounts through the TRANSFERS endpoint .