Changed scope of $_api property in MailgunYii class