for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Tinyissue package.
*
* (c) Mohamed Alsharaf <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tinyissue\Providers;
use Tinyissue\Extensions\Html;
/**
* HtmlServiceProvider for extending Laravel Html service provider.
* @author Mohamed Alsharaf <[email protected]>
class HtmlServiceProvider extends \Collective\Html\HtmlServiceProvider
{
* Bootstrap any application services.
public function boot()
require base_path('resources/macros/html.php');
}
* Register the form builder instance.
protected function registerFormBuilder()
$this->app->singleton('form', function ($app) {
$form = new Html\FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken());
return $form->setSessionStore($app['session.store']);
});