PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Casts
<?php namespace Illuminate\Database\Eloquent\Casts; use ArrayObject as BaseArrayObject; use Illuminate\Contracts\Support\Arrayable; use JsonSerializable; class ArrayObject extends BaseArrayObject implements Arrayable, JsonSerializable { /** * Get a collection containing the underlying array. * * @return \Illuminate\Support\Collection */ public function collect() { return collect($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(); } }
[-] Attribute.php
[edit]
[+]
..
[-] AsArrayObject.php
[edit]
[-] AsCollection.php
[edit]
[-] ArrayObject.php
[edit]
[-] AsEncryptedCollection.php
[edit]
[-] AsEncryptedArrayObject.php
[edit]
[-] AsStringable.php
[edit]