ヤミ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: AuthorList.php
<?php namespace JMS\Serializer\Tests\Fixtures; use JMS\Serializer\Annotation as Serializer; /** * An array-acting object that holds many author instances. */ class AuthorList implements \IteratorAggregate, \Countable, \ArrayAccess { /** * @Serializer\Type("array<JMS\Serializer\Tests\Fixtures\Author>") * @var array */ protected $authors = array(); /** * @param Author $author */ public function add(Author $author) { $this->authors[] = $author; } /** * @see IteratorAggregate */ public function getIterator() { return new \ArrayIterator($this->authors); } /** * @see Countable */ public function count() { return count($this->authors); } /** * @see ArrayAccess */ public function offsetExists($offset) { return isset($this->authors[$offset]); } /** * @see ArrayAccess */ public function offsetGet($offset) { return isset($this->authors[$offset]) ? $this->authors[$offset] : null; } /** * @see ArrayAccess */ public function offsetSet($offset, $value) { if (null === $offset) { $this->authors[] = $value; } else { $this->authors[$offset] = $value; } } /** * @see ArrayAccess */ public function offsetUnset($offset) { unset($this->authors[$offset]); } }
Coded With 💗 by
0x6ick