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.191.120.131
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
collections /
docs /
en /
Delete
Unzip
Name
Size
Permission
Date
Action
derived-collections.rst
738
B
-rw-rw-r--
2022-08-18 05:44
expression-builder.rst
3.46
KB
-rw-rw-r--
2022-08-18 05:44
expressions.rst
2.17
KB
-rw-rw-r--
2022-08-18 05:44
index.rst
7.94
KB
-rw-rw-r--
2022-08-18 05:44
lazy-collections.rst
740
B
-rw-rw-r--
2022-08-18 05:44
sidebar.rst
122
B
-rw-rw-r--
2022-08-18 05:44
Save
Rename
Derived Collections =================== You can create custom collection classes by extending the ``Doctrine\Common\Collections\ArrayCollection`` class. If the ``__construct`` semantics are different from the default ``ArrayCollection`` you can override the ``createFrom`` method: .. code-block:: php final class DerivedArrayCollection extends ArrayCollection { /** @var \stdClass */ private $foo; public function __construct(\stdClass $foo, array $elements = []) { $this->foo = $foo; parent::__construct($elements); } protected function createFrom(array $elements) : self { return new static($this->foo, $elements); } }