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

orchestral / view / 245
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v6.0.0
DEFAULT BRANCH: master
Ran 28 Jan 2016 11:01PM UTC
Jobs 1
Files 6
Run time 2s
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

pending completion
245

push

travis-ci

crynobone
Allow multiple arguments in Decorator render method

Right now in the decorator if I want to pass in multiple arguments to be passed to the view, I need to pass an array. However retrieving all method arguments allows type-hint ability in decorator macros. For example:

```php
Decorator::macro('issue-comment', function (Comment $comment, Issue $issue)  {
    return view('components.issue-comment', compact('comment', 'issue'));
});
```

Usage:

```php
@decorator('issue-comment', $comment, $issue);
```

3 of 3 new or added lines in 1 file covered. (100.0%)

133 of 133 relevant lines covered (100.0%)

1.82 hits per line

Jobs
ID Job ID Ran Files Coverage
7 245.7 (setup=coveralls coverage=yes) 28 Jan 2016 11:01PM UTC 0
100.0
Travis Job 245.7
Source Files on build 245
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #245
  • 8aa1480e on github
  • Prev Build on 3.2 (#239)
  • Next Build on 3.2 (#246)
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