NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/lib/vendor/psr/clock/README.md

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

README.md on main
Author Date Commit Line Code
FreddleSpl0it over 2 years ago d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1
# PSR Clock
Open commit View diff
1 # PSR Clock
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
2
Open commit View diff
2
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3
This repository holds the interface for [PSR-20][psr-url].
Open commit View diff
3 This repository holds the interface for [PSR-20][psr-url].
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4
Open commit View diff
4
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5
Note that this is not a clock of its own. It is merely an interface that
Open commit View diff
5 Note that this is not a clock of its own. It is merely an interface that
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
6
describes a clock. See the specification for more details.
Open commit View diff
6 describes a clock. See the specification for more details.
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
7
Open commit View diff
7
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
8
## Installation
Open commit View diff
8 ## Installation
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
9
Open commit View diff
9
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
10
```bash
Open commit View diff
10 ```bash
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
11
composer require psr/clock
Open commit View diff
11 composer require psr/clock
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
12
```
Open commit View diff
12 ```
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
13
Open commit View diff
13
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
14
## Usage
Open commit View diff
14 ## Usage
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
15
Open commit View diff
15
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
16
If you need a clock, you can use the interface like this:
Open commit View diff
16 If you need a clock, you can use the interface like this:
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
17
Open commit View diff
17
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
18
```php
Open commit View diff
18 ```php
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
19
<?php
Open commit View diff
19 <?php
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
20
Open commit View diff
20
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
21
use Psr\Clock\ClockInterface;
Open commit View diff
21 use Psr\Clock\ClockInterface;
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
22
Open commit View diff
22
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
23
class Foo
Open commit View diff
23 class Foo
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
24
{
Open commit View diff
24 {
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
25
    private ClockInterface $clock;
Open commit View diff
25 private ClockInterface $clock;
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
26
Open commit View diff
26
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
27
    public function __construct(ClockInterface $clock)
Open commit View diff
27 public function __construct(ClockInterface $clock)
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
28
    {
Open commit View diff
28 {
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
29
        $this->clock = $clock;
Open commit View diff
29 $this->clock = $clock;
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
30
    }
Open commit View diff
30 }
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
31
Open commit View diff
31
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
32
    public function doSomething()
Open commit View diff
32 public function doSomething()
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
33
    {
Open commit View diff
33 {
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
34
        /** @var DateTimeImmutable $currentDateAndTime */
Open commit View diff
34 /** @var DateTimeImmutable $currentDateAndTime */
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
35
        $currentDateAndTime = $this->clock->now();
Open commit View diff
35 $currentDateAndTime = $this->clock->now();
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
36
        // do something useful with that information
Open commit View diff
36 // do something useful with that information
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
37
    }
Open commit View diff
37 }
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
38
}
Open commit View diff
38 }
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
39
```
Open commit View diff
39 ```
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
40
Open commit View diff
40
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
41
You can then pick one of the [implementations][implementation-url] of the interface to get a clock.
Open commit View diff
41 You can then pick one of the [implementations][implementation-url] of the interface to get a clock.
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
42
Open commit View diff
42
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
43
If you want to implement the interface, you can require this package and
Open commit View diff
43 If you want to implement the interface, you can require this package and
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
44
implement `Psr\Clock\ClockInterface` in your code. 
Open commit View diff
44 implement `Psr\Clock\ClockInterface` in your code.
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
45
Open commit View diff
45
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
46
Don't forget to add `psr/clock-implementation` to your `composer.json`s `provides`-section like this:
Open commit View diff
46 Don't forget to add `psr/clock-implementation` to your `composer.json`s `provides`-section like this:
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
47
Open commit View diff
47
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
48
```json
Open commit View diff
48 ```json
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
49
{
Open commit View diff
49 {
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
50
  "provides": {
Open commit View diff
50 "provides": {
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
51
    "psr/clock-implementation": "1.0"
Open commit View diff
51 "psr/clock-implementation": "1.0"
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
52
  }
Open commit View diff
52 }
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
53
}
Open commit View diff
53 }
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
54
```
Open commit View diff
54 ```
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
55
Open commit View diff
55
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
56
And please read the [specification text][specification-url] for details on the interface.
Open commit View diff
56 And please read the [specification text][specification-url] for details on the interface.
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
57
Open commit View diff
57
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
58
[psr-url]: https://www.php-fig.org/psr/psr-20
Open commit View diff
58 [psr-url]: https://www.php-fig.org/psr/psr-20
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
59
[package-url]: https://packagist.org/packages/psr/clock
Open commit View diff
59 [package-url]: https://packagist.org/packages/psr/clock
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
60
[implementation-url]: https://packagist.org/providers/psr/clock-implementation
Open commit View diff
60 [implementation-url]: https://packagist.org/providers/psr/clock-implementation
same change d479d18

[Web] update directorytree/ldaprecord

Full commit hash
d479d18507325c5cd236a429116ae4a56cb3cfb0
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
61
[specification-url]: https://github.com/php-fig/fig-standards/blob/master/proposed/clock.md
Open commit View diff
61 [specification-url]: https://github.com/php-fig/fig-standards/blob/master/proposed/clock.md