Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (35 sloc) 651 Bytes
<?php
/**
* Twiml Class
*
* @author rutoru
* @package Runa-CCA
*/
namespace Runa_CCA\View;
class Twiml {
/**
* Object Variables
*/
private $app;
/**
* Constructor
*
* @param Slim Object
*/
public function __construct($app){
$this->app = $app;
}
/**
* createTwiMl
*
* @param \Twilio $twilioObj Twilio Object
*/
public function createTwiml($twilioObj){
$this->app->render(
'TwiML/twiml.twig',
[
'twiml' => $twilioObj,
]
);
}
}