PHP Classes

File: examples/views/TestComponent/component.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  BladeOne  >  examples/views/TestComponent/component.blade.php  >  Download  
File: examples/views/TestComponent/component.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/views/TestComponent/component.blade.php
Date: 2 months ago
Size: 484 bytes
 

Contents

Class file image Download
hola mundo
@component('TestComponent.alert',array('title'=>'hello'))
    <strong>Whoops!</strong> Something went wrong! (the code is right btw)
@endcomponent

@component('TestComponent.alert')
    @slot('title')
        hello 2
    @endslot
    <strong>Whoops!</strong> Something went wrong! (the code is right btw)
@endcomponent

@component('TestComponent.alert')
    @slot('title', 'hello 3')

    <strong>Whoops!</strong> Something went wrong! (the code is right btw)
@endcomponent


For more information send a message to info at phpclasses dot org.