# wpide/3.0/App/AppServices.php

WPIDE – File Manager &amp; Code Editor, version 3.0. 21 lines.

- Page: https://pluginprobe.com/plugins/wpide/3.0/code/App/AppServices.php
- Raw: https://pluginprobe.com/plugins/wpide/3.0/raw/App/AppServices.php
- Modified: 2022-07-30T20:33:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpide/3.0/code/App/AppServices.php#L10-L20`.

```php
<?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;
    }
}
```
