%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/www/stlc/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/
Upload File :
Create Path :
Current File : /home/opti/www/stlc/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/SingletonTrait.php

<?php


namespace Nextend\Framework\Pattern;


trait SingletonTrait {

    protected static $instance;

    final public static function getInstance() {
        return isset(static::$instance) ? static::$instance : static::$instance = new static;
    }

    private function __construct() {
        $this->init();
    }

    protected function init() {
    }

    final public function __wakeup() {
    }

    final public function __clone() {
    }
}

Zerion Mini Shell 1.0