golden hour
/home/godaofbq/dev.hyperredbed.com/wp-content/plugins/metform/traits
⬆️ Go Up
Upload
File/Folder
Size
Actions
button-controls.php
13.41 KB
Del
OK
common-controls.php
36.26 KB
Del
OK
conditional-controls.php
4.31 KB
Del
OK
quiz-control.php
17.45 KB
Del
OK
singleton.php
269 B
Del
OK
Edit: singleton.php
<?php namespace MetForm\Traits; trait Singleton { private static $instance; public static function instance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; } }
Save