eZ\Publish\Core\FieldType\StorageGateway::setConnection PHP Method

setConnection() abstract public method

Allows injection of the data storage connection to be used from external source. This can be a database connection resource or something else to define the storage, depending on the gateway implementation.
abstract public setConnection ( mixed $connection )
$connection mixed
    public abstract function setConnection($connection);
StorageGateway