You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
397 B

4 years ago
4 years ago
4 years ago
4 years ago
  1. <?php
  2. namespace blobt\airpc;
  3. use yii\console\controllers\HelpController;
  4. class Yee {
  5. private static $instance;
  6. public static function getInstaance() {
  7. if (empty(self::$instance)) {
  8. self::$instance = new self();
  9. }
  10. return self::$instance;
  11. }
  12. public function run() {
  13. $ret = "some data ".$_SERVER['data'];
  14. return $ret;
  15. }
  16. }