Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
symfony
/
clock
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
Resources
--
ren
Test
--
ren
CHANGELOG.md
0.485KB
edt
ren
Clock.php
2.313KB
edt
ren
ClockAwareTrait.php
0.821KB
edt
ren
ClockInterface.php
0.546KB
edt
ren
DatePoint.php
5.417KB
edt
ren
LICENSE
1.043KB
edt
ren
MockClock.php
3.181KB
edt
ren
MonotonicClock.php
2.613KB
edt
ren
NativeClock.php
1.759KB
edt
ren
README.md
1.167KB
edt
ren
composer.json
0.854KB
edt
ren
Clock Component =============== Symfony Clock decouples applications from the system clock. Getting Started --------------- ```bash composer require symfony/clock ``` ```php use Symfony\Component\Clock\NativeClock; use Symfony\Component\Clock\ClockInterface; class MyClockSensitiveClass { public function __construct( private ClockInterface $clock, ) { // Only if you need to force a timezone: //$this->clock = $clock->withTimeZone('UTC'); } public function doSomething() { $now = $this->clock->now(); // [...] do something with $now, which is a \DateTimeImmutable object $this->clock->sleep(2.5); // Pause execution for 2.5 seconds } } $clock = new NativeClock(); $service = new MyClockSensitiveClass($clock); $service->doSomething(); ``` Resources --------- * [Documentation](https://symfony.com/doc/current/components/clock.html) * [Contributing](https://symfony.com/doc/current/contributing/index.html) * [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls) in the [main Symfony repository](https://github.com/symfony/symfony)
<=Back
Liking