You are here

public static function BaseInterface::getInstance in DRD Agent 8.3

Same name and namespace in other branches
  1. 4.0.x src/Crypt/BaseInterface.php \Drupal\drd_agent\Crypt\BaseInterface::getInstance()

Create instance of a crypt object of given method with provided settings.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

string $method: ID of the crypt method.

array $settings: Settings of the crypt instance.

Return value

BaseMethodInterface The crypt object.

1 method overrides BaseInterface::getInstance()
Base::getInstance in src/Crypt/Base.php
Create instance of a crypt object of given method with provided settings.

File

src/Crypt/BaseInterface.php, line 26

Class

BaseInterface
Provides an interface for encryption.

Namespace

Drupal\drd_agent\Crypt

Code

public static function getInstance(ContainerInterface $container, $method, array $settings) : BaseMethodInterface;