<?php

namespace MicroAPI;

use MicroAPI\Injector;

class Model
{
    /**
     * Access a service from the injector
     *
     * @param $serviceName - The name of the service
     * @return mixed
     */
    public static function _service($serviceName)
    {
        return Injector::getInstance()->getService($serviceName);
    }
} 
<?php

namespace MicroAPI;

trait Model
{
    /**
     * Access a service from the injector
     *
     * @param $serviceName - The name of the service
     * @return mixed
     */
    public static function _service($serviceName)
    {
        return Injector::getInstance()->getService($serviceName);
    }
} 
Use traits instead of inheritance for model helper
Use traits instead of inheritance for model helper
