public function __construct($function, $args = array(), $return_output_buffer = false)
{
if (is_array($function)) {
if (is_string($function[0]) && class_exists($function[0]) || gettype($function[0]) === 'object') {
$this->_class = $function[0];
}
if (is_string($function[1])) {
$this->_function = $function[1];
}
} else {
$this->_function = $function;
}
$this->_args = $args;
$this->_use_ob = $return_output_buffer;
add_filter('timber/twig', array(&$this, 'add_to_twig'));
}