Skip to content

Instantly share code, notes, and snippets.

@clemherreman
Forked from n1k0/Action.class.php
Created November 3, 2011 15:59
Show Gist options
  • Save clemherreman/1336867 to your computer and use it in GitHub Desktop.
Save clemherreman/1336867 to your computer and use it in GitHub Desktop.
Class action
<?php
class Action implements NeedThePolice
{
public function askHelp()
{
return $this->goFuckYourself();
}
private function goFuckYourself()
{
return andCry();
}
}
<?php
interface NeedThePolice
{
public function askHelp();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment