Skip to content

Instantly share code, notes, and snippets.

@cwhite92
Created April 1, 2016 21:26
Show Gist options
  • Save cwhite92/d1edc4afef607880f9e4e6cccc6e9ae2 to your computer and use it in GitHub Desktop.
Save cwhite92/d1edc4afef607880f9e4e6cccc6e9ae2 to your computer and use it in GitHub Desktop.
public function filterWorkRequests()
{
if ($this->workIsInappropriate()) {
return $this->absolutelyNot();
}
if ($this->workIsNeutral()) {
return $this->possibly();
}
return $this->weWouldLoveTo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment