Ejemplo n.º 1
0
 public function getDocumentationApib($apiUrl)
 {
     View::addExtension('blade.apib', 'blade');
     //allow sections to be defined as .blade.apib for correct syntax highlighting
     $data = ['apiUrl' => $apiUrl, 'faker' => Faker\Factory::create()];
     $content = view('documentation.apiary', $data)->render();
     return $content;
 }