Created
March 18, 2016 04:08
-
-
Save barrychapman/a4d72d584204399a4464 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
debug($secure); // line 112 | |
$time = $secure['time']; | |
$interval = new \DateInterval('PT1M'); | |
$time->add($interval); | |
$currentTime = new DateTime(); | |
debug($secure); // line 121 | |
debug($time);die; // line 123 | |
// output | |
/src/Controller/Component/ImportSecurityComponent.php (line 112) | |
[ | |
'token' => 'O30CsaMMriHVPwGU7s6X90P0', | |
'time' => object(DateTime) { | |
date => '2016-03-18 00:05:12.000000' | |
timezone_type => (int) 3 | |
timezone => 'America/Detroit' | |
}, | |
'id' => '747346' | |
] | |
/src/Controller/Component/ImportSecurityComponent.php (line 121) | |
[ | |
'token' => 'O30CsaMMriHVPwGU7s6X90P0', | |
'time' => object(DateTime) { | |
date => '2016-03-18 00:06:12.000000' | |
timezone_type => (int) 3 | |
timezone => 'America/Detroit' | |
}, | |
'id' => '747346' | |
] | |
/src/Controller/Component/ImportSecurityComponent.php (line 123) | |
object(DateTime) { | |
date => '2016-03-18 00:06:12.000000' | |
timezone_type => (int) 3 | |
timezone => 'America/Detroit' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment