| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | 9 | public function __invoke(Request $request, Application $app)  | 
            |
| 22 |     { | 
            ||
| 23 | 9 |         if ($app["debug"] && !$app["resourceful.schemas"]->contains($this->schema)) { | 
            |
| 24 | 7 | $app["resourceful.schemas"]->save(  | 
            |
| 25 | 7 | $this->schema,  | 
            |
| 26 | 7 |                 json_decode($app["twig"]->render("$this->template.json.twig", $this->replacements)) | 
            |
| 27 | );  | 
            ||
| 28 | }  | 
            ||
| 29 | 9 | }  | 
            |
| 30 | }  | 
            ||
| 31 |