Skip to content

Commit

Permalink
Added intialize() method to replace constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbjr committed May 4, 2015
1 parent d62999f commit 5f914eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Chrisbjr/ApiGuard/Controllers/ApiGuardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,14 @@ public function __construct()
}
}

$this->initialize();

}, ['apiMethods' => $this->apiMethods]);
}

public function initialize()
{
// feel free to override this in place of your constructor
}

}

0 comments on commit 5f914eb

Please sign in to comment.