Created
April 23, 2014 09:42
-
-
Save mageekguy/11208900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function apply(comparable $name, comparable $value, callable $callable) | |
{ | |
$this->values->ifContains($name, function($values) use ($value, $callable) { | |
$values->ifContains($value, function($value) use ($callable) { | |
$this->objects->apply($value, function($objects) use ($callable) { | |
$objects->walk($callable); | |
} | |
); | |
} | |
); | |
} | |
); | |
return $this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment