File "AppServices.php"

Full Path: /home/attunedd/public_html/wp-content/plugins/wpide/App/AppServices.php
File size: 392 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace WPIDE\App;

use WPIDE\App\Services\Services;
use const WPIDE\Constants\DIR;

class AppServices {

    protected static $services;

    public static function load(): Services
    {
        if(!empty(self::$services )) {
            return self::$services;
        }

        self::$services = new Services(require DIR.'_services.php');

        return self::$services;
    }
}