/
/
home
/
melaqxso
/
nymetrocualumni.com
/
wp-content
/
plugins
/
give
/
src
/
Framework
/
FieldsAPI
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/give/src/Framework/FieldsAPI
Edit:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/give/src/Framework/FieldsAPI/Factory.php
<?php namespace Give\Framework\FieldsAPI; use Give\Framework\FieldsAPI\Contracts\Node; use Give\Framework\FieldsAPI\Exceptions\TypeNotSupported; /** * @since 2.12.0 */ class Factory { /** * @since 2.12.0 * * @param string $type * @param ...$args * * @return Node * @throws TypeNotSupported */ public function make($type, ...$args) { $class = 'Give\\Framework\\FieldsAPI\\' . ucfirst($type); if ( ! class_exists($class)) { throw new TypeNotSupported($type); } return new $class(...$args); } }
Ukuran: 606 B