ヤミRoot VoidGate
User / IP
:
216.73.216.33
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
/
itrave
/
api
/
vendor
/
jms
/
serializer
/
src
/
JMS
/
Serializer
/
Metadata
/
Viewing: ExpressionPropertyMetadata.php
<?php namespace JMS\Serializer\Metadata; use JMS\Serializer\Exception\ExpressionLanguageRequiredException; /** * @Annotation * @Target("METHOD") * * @author Asmir Mustafic <goetas@gmail.com> */ class ExpressionPropertyMetadata extends PropertyMetadata { /** * @var string */ public $expression; public function __construct($class, $fieldName, $expression) { $this->class = $class; $this->name = $fieldName; $this->expression = $expression; $this->readOnly = true; } public function setAccessor($type, $getter = null, $setter = null) { } /** * @param object $object * @return mixed */ public function getValue($object) { throw new ExpressionLanguageRequiredException(sprintf('The property %s on %s requires the expression accessor strategy to be enabled.', $this->name, $this->class)); } public function setValue($obj, $value) { throw new \LogicException('ExpressionPropertyMetadata is immutable.'); } public function serialize() { return serialize(array( $this->sinceVersion, $this->untilVersion, $this->groups, $this->serializedName, $this->type, $this->xmlCollection, $this->xmlCollectionInline, $this->xmlEntryName, $this->xmlKeyAttribute, $this->xmlAttribute, $this->xmlValue, $this->xmlNamespace, $this->xmlKeyValuePairs, $this->xmlElementCData, $this->xmlAttributeMap, $this->maxDepth, $this->getter, $this->setter, $this->inline, $this->readOnly, $this->class, $this->name, 'excludeIf' => $this->excludeIf, 'expression' => $this->expression, )); } public function unserialize($str) { $unserialized = unserialize($str); list( $this->sinceVersion, $this->untilVersion, $this->groups, $this->serializedName, $this->type, $this->xmlCollection, $this->xmlCollectionInline, $this->xmlEntryName, $this->xmlKeyAttribute, $this->xmlAttribute, $this->xmlValue, $this->xmlNamespace, $this->xmlKeyValuePairs, $this->xmlElementCData, $this->xmlAttributeMap, $this->maxDepth, $this->getter, $this->setter, $this->inline, $this->readOnly, $this->class, $this->name ) = $unserialized; if (isset($unserialized['excludeIf'])) { $this->excludeIf = $unserialized['excludeIf']; } if (isset($unserialized['expression'])) { $this->expression = $unserialized['expression']; } } }
Coded With 💗 by
0x6ick