View DeleteCascadeTrait.php
<?php
/**
* Class DeleteCascadeTrait
*
* Simplify the process of delete cascade in eloquent.
*
* use DeleteCascadeTrait;
* public static function getDeleteCascadeRelations() { return array('myrelation'); }
*/
View hfxHelper.php
<?php
/**
* Create headers from an xml string consisting of a hierarchy of nodes with attributes
* (ex: <header name="A"> <header name="AB" /> <header name="AC"> <header name="AD" /> </header> </header>
*
* @param string $content XML string containing hierarchy of nodes
* @return void
*/
public function hfxParseContent($content) {
View filters.php
<?php
### --- Snip --- ###
App::after(function($request, $response)
{
// HTML Minification
if(App::Environment() != 'local')
{
if($response instanceof Illuminate\Http\Response)