Created
January 16, 2012 18:49
-
-
Save filhodanuvem/1622299 to your computer and use it in GitHub Desktop.
Testing closure
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
<?php | |
$h = date('H', strtotime($agenda->getData())); | |
$horariosPossiveis = array_map(function($v){ | |
return str_replace('%H%', $h,$v); | |
},$horariosPossiveis); |
jeanpimentel
commented
Jan 16, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment