/** @test */ public function it_supports_section() { $this->blade->setContent('<div bd-section="\'content\'"></div>'); $content = $this->blade->parse(); $this->assertEquals('@section(\'content\')<div></div>@stop', $content); }
/** * Register the service provider. * * @return void */ public function register() { BladeExtended::register(); }