Файловый менеджер - Редактировать - /home/autoovt/www/DateIntervalFilter.php.tar
Назад
home/autoovt/www/vendor-old/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php 0000666 00000001177 14772557437 0027154 0 ustar 00 <?php namespace DeepCopy\TypeFilter\Date; use DateInterval; use DeepCopy\TypeFilter\TypeFilter; /** * @final * * @deprecated Will be removed in 2.0. This filter will no longer be necessary in PHP 7.1+. */ class DateIntervalFilter implements TypeFilter { /** * {@inheritdoc} * * @param DateInterval $element * * @see http://news.php.net/php.bugs/205076 */ public function apply($element) { $copy = new DateInterval('P0D'); foreach ($element as $propertyName => $propertyValue) { $copy->{$propertyName} = $propertyValue; } return $copy; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка