Свойство | Type | Description | |
---|---|---|---|
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance. |
Méthode | Description | |
---|---|---|
fromDatabaseNode ( AppserverIo\Appserver\Core\Api\Node\DatabaseNodeInterface $databaseNode ) : array | Creates an array with the connection parameters for a Doctrine DBAL connection from the passed database node. | |
get ( AppserverIo\Psr\Application\ApplicationInterface $application ) : AppserverIo\Appserver\Doctrine\Utils\DoctrineHelper | Creates a new helper instance. | |
getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | Returns the application instance. |
Méthode | Description | |
---|---|---|
__clone ( ) : void | This is a utility class, so protect it against cloning. | |
__construct ( AppserverIo\Psr\Application\ApplicationInterface $application ) | This is a utility class, so protect it against direct instantiation. |
public fromDatabaseNode ( AppserverIo\Appserver\Core\Api\Node\DatabaseNodeInterface $databaseNode ) : array | ||
$databaseNode | AppserverIo\Appserver\Core\Api\Node\DatabaseNodeInterface | The database node to create the connection parameters from |
Résultat | array | The DBAL connection parameters |
public static get ( AppserverIo\Psr\Application\ApplicationInterface $application ) : AppserverIo\Appserver\Doctrine\Utils\DoctrineHelper | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
Résultat | AppserverIo\Appserver\Doctrine\Utils\DoctrineHelper | The instance |
public getApplication ( ) : AppserverIo\Psr\Application\ApplicationInterface | ||
Résultat | AppserverIo\Psr\Application\ApplicationInterface | The application instance |