File manager - Edit - /home/opticamezl/www/newok/libraries/regularlabs/vendor/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php
Back
<?php namespace RegularLabs\Scoped\DeepCopy\TypeMatcher; class TypeMatcher { /** * @var string */ private $type; /** * @param string $type */ public function __construct($type) { $this->type = $type; } /** * @param mixed $element * * @return boolean */ public function matches($element) { return is_object($element) ? is_a($element, $this->type) : gettype($element) === $this->type; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings