Skip to content

Instantly share code, notes, and snippets.

@simonhamp
Last active January 26, 2016 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonhamp/8a49bccb8124758e68ec to your computer and use it in GitHub Desktop.
Save simonhamp/8a49bccb8124758e68ec to your computer and use it in GitHub Desktop.
// Before
<h1>FooBar</h1>
<?php $foo = 'Foo'; ?>
<p>{{ $foo }}</p>
// After
<h1>FooBar</h1>
@include( 'partials/foo', [ 'foo' => 'Foo' ] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment