AppserverIo\Appserver\Core\AbstractContainerThread::newInstance PHP 메소드

newInstance() 공개 메소드

(non-PHPdoc)
또한 보기: AppserverIo\Appserver\Core\InitialContext::newInstance()
public newInstance ( string $className, array $args = [] ) : object
$className string The fully qualified class name to return the instance for
$args array Arguments to pass to the constructor of the instance
리턴 object The instance itself
    public function newInstance($className, array $args = array())
    {
        return $this->getInitialContext()->newInstance($className, $args);
    }