public function includeFile($filename, $data = [], $context = [])
    {
        $this->tintin->pushSharedData(array_merge($context, $data));

        $data = $this->tintin->getSharedData();

        return $this->tintin->render($filename, $data);
    }
public function includeFile($filename, $data = [], $context = [])
    {
        $this->tintin->pushSharedData(array_merge($context, $data));

        $data = $this->tintin->getSharedData();

        return $this->tintin->render($filename, $data);
    }
public function includeFile ( $ filename , $ data = [ ] , $ context = [ ] ) { $ this -> tintin -> pushSharedData ( array_merge ( $ context , $ data ) ) ; $ data = $ this -> tintin -> getSharedData ( ) ; return $ this -> tintin -> render ( $ filename , $ data ) ; }
Include a file to compile

@param string $filename
@param array $data
@param array $context

@return string
Include a file to compile