| 1234567891011121314151617181920212223242526272829303132333435363738394041 | 
							- <?php
 
- /*
 
-  * This file is part of the Symfony package.
 
-  *
 
-  * (c) Fabien Potencier <fabien@symfony.com>
 
-  *
 
-  * For the full copyright and license information, please view the LICENSE
 
-  * file that was distributed with this source code.
 
-  */
 
- namespace Symfony\Component\Console\Helper;
 
- use Symfony\Component\Console\Tests;
 
- function time()
 
- {
 
-     return Tests\time();
 
- }
 
- namespace Symfony\Component\Console\Tests;
 
- function with_clock_mock($enable = null)
 
- {
 
-     static $enabled;
 
-     if (null === $enable) {
 
-         return $enabled;
 
-     }
 
-     $enabled = $enable;
 
- }
 
- function time()
 
- {
 
-     if (!with_clock_mock()) {
 
-         return \time();
 
-     }
 
-     return $_SERVER['REQUEST_TIME'];
 
- }
 
 
  |