Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created March 20, 2010 02:17
Show Gist options
  • Save funkatron/338403 to your computer and use it in GitHub Desktop.
Save funkatron/338403 to your computer and use it in GitHub Desktop.
<?php
$that = $this;
$this->stool->find(function($obj) use ($that) {
if ($obj->source === 'web') {
$that->webSourceCount++;
}
});
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment