AppserverIo\Appserver\Core\InitialContext::newService PHP 메소드

newService() 공개 메소드

Returns a new instance of the passed API service.
public newService ( string $className ) : AppserverIo\Appserver\Core\Api\ServiceInterface
$className string The API service class name to return the instance for
리턴 AppserverIo\Appserver\Core\Api\ServiceInterface The service instance
    public function newService($className)
    {
        return $this->newInstance($className, array($this));
    }