public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
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/CSSminifierExtended.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
<?php
3
use MatthiasMullie\Minify\CSS;
5
class CSSminifierExtended extends CSS {
7
public function getDataHash() {
8
return sha1(json_encode($this->accessProtected($this,'data')));
9
}
11
private function accessProtected($obj, $prop) {
12
$reflection = new ReflectionClass($obj);
13
$property = $reflection->getProperty($prop);
14
$property->setAccessible(true);
15
return $property->getValue($obj);
16
}
18
}