• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HawkBitPhp / hawkbit-presentation / 13 / 2
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2017 06:13PM UTC
Files 6
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2017 06:12PM UTC coverage: 77.778%. Remained the same
13.2

Pull #1

travis-ci

web-flow
Hawkbit Compatible Plates Integration/Wrapper Class

Usage:

```
Usage Example:

// ...
$app->getContainer()->share('view', function () use ($app) {
$view = new Plates([
'directory' => __DIR__ . '/../tpl/',
'assetPath' => __DIR__ . '/../assets',
'fileExtension' => 'tpl',
'filenameCaching' => TRUE
], $app->getResponse()); // optionally add response object

$view->registerFunction('test', function ($string) {
return strtoupper($string);
});

return $view;
});

$route->get('/{name}', function(Request $request, Response
$route->get('/{name}', function(Request $request, Response $response,
$args) use ($app) {
return $app->getContainer()->get('view')->render('home', [
'name' => $args['name']
]);

// without passing $response to Plates constructor, render plates into a
variable e.g. $out and uncomment below:
// $response->getBody()->write($out);
// return $response;
});
```
Pull Request #1: Hawkbit Compatible Plates Integration/Wrapper Class

28 of 36 relevant lines covered (77.78%)

2.08 hits per line

Source Files on job 13.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13
  • Travis Job 13.2
  • 1467e689 on github
  • Prev Job for on master (#11.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc