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 : 18.188.161.182
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
league /
fractal /
src /
Serializer /
Delete
Unzip
Name
Size
Permission
Date
Action
ArraySerializer.php
3.03
KB
-rw-r--r--
2021-02-02 18:21
DataArraySerializer.php
965
B
-rw-r--r--
2021-02-02 18:21
JsonApiSerializer.php
16.22
KB
-rw-r--r--
2021-02-02 18:21
Serializer.php
2.11
KB
-rw-r--r--
2021-02-02 18:21
SerializerAbstract.php
3.37
KB
-rw-r--r--
2021-02-02 18:21
Save
Rename
<?php /* * This file is part of the League\Fractal package. * * (c) Phil Sturgeon <me@philsturgeon.uk> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\Fractal\Serializer; class DataArraySerializer extends ArraySerializer { /** * Serialize a collection. * * @param string $resourceKey * @param array $data * * @return array */ public function collection($resourceKey, array $data) { return ['data' => $data]; } /** * Serialize an item. * * @param string $resourceKey * @param array $data * * @return array */ public function item($resourceKey, array $data) { return ['data' => $data]; } /** * Serialize null resource. * * @return array */ public function null() { return ['data' => []]; } }