Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Also realised zep's plugin template was out-of-date.
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Feb 16, 2014
1 parent fedf730 commit 713871f
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions bin/zep
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,38 @@ $template_plugin = <<<PLUGIN
class %sPlugin implements \Zepto\PluginInterface {
public function before_config_load(&\$settings)
public function after_plugins_load(\Pimple \$app)
{
}
public function before_content_load(&\$content_dir)
public function before_config_load(\Pimple \$app, &\$settings)
{
}
public function after_content_load(&\$content)
public function before_router_setup(\Pimple \$app)
{
}
public function before_router_setup()
public function after_router_setup(\Pimple \$app)
{
}
public function after_router_setup()
public function before_response_send(\Pimple \$app)
{
}
public function before_response_send()
{
}
public function after_response_send()
public function after_response_send(\Pimple \$app)
{
}
}
?>
PLUGIN;

// Add parameter
Expand Down

0 comments on commit 713871f

Please sign in to comment.