uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
.
/
.
/
craft4-newsite-space
/
vendor
/
voku
/
arrayy
/
src
/
TypeCheck
/
TypeCheckArray.php
/
/
<?php namespace Arrayy\TypeCheck; use Arrayy\Arrayy; use Arrayy\ArrayyIterator; /** * @template TKey of array-key * @template T * @extends \Arrayy\ArrayyStrict<TKey,T> */ class TypeCheckArray extends \Arrayy\ArrayyStrict { /** * Initializes * * @param mixed $data <p> * Should be an array or a generator, otherwise it will try * to convert it into an array. * </p> * @param string $iteratorClass optional <p> * You can overwrite the ArrayyIterator, but mostly you don't * need this option. * </p> * @param bool $checkPropertiesInConstructor optional <p> * You need to extend the "Arrayy"-class and you need to set * the $checkPropertiesMismatchInConstructor class property * to * true, otherwise this option didn't not work anyway. * </p> * * @phpstan-param class-string<\Arrayy\ArrayyIterator> $iteratorClass */ public function __construct( $data = [], string $iteratorClass = ArrayyIterator::class, bool $checkPropertiesInConstructor = true ) { $this->properties[Arrayy::ARRAYY_HELPER_TYPES_FOR_ALL_PROPERTIES] = new TypeCheckSimple(TypeCheckInterface::class); parent::__construct($data, $iteratorClass, $checkPropertiesInConstructor); } }
/srv/users/craft4/apps/././craft4-newsite-space/vendor/voku/arrayy/src/TypeCheck/TypeCheckArray.php