implements AttackBehaviour { public function attack() { // punch } } class AxeAttack implements AttackBehaviour { public function attack() { // attack with axe } } class EyePoke implements AttackBehaviour { public function attack() { // poke in eye } }