Files
server/usr/share/psa-horde/imp/lib/Factory/Smime.php
2026-01-07 20:52:11 +01:00

36 lines
940 B
PHP

<?php
/**
* Copyright 2010-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*
* @category Horde
* @copyright 2010-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
/**
* A Horde_Injector based factory for the IMP_Crypt_Smime object.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @copyright 2010-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
class IMP_Factory_Smime extends Horde_Core_Factory_Injector
{
/**
* Return the IMP_Crypt_Smime instance.
*
* @return IMP_Crypt_Smime The singleton instance.
*/
public function create(Horde_Injector $injector)
{
return $injector->getInstance('Horde_Core_Factory_Crypt')->create('IMP_Crypt_Smime');
}
}