Blesta Source Documentation

Security extends Component

Security factory that wraps PHPSecLib.

Table of Contents

Properties

$components
$helpers
$models

Methods

__construct()
create() Creates a new instance of the given PHPSecLib library
Properties
Methods

create()

Creates a new instance of the given PHPSecLib library

public static create(string $lib, string $class[, array<string|int, mixed> $params = [] ]) : object
Parameters
$lib : string

The Library to load from (directory/namespace path) within phpseclib

$class : string

The class name

$params : array<string|int, mixed> = []

Parameters to pass to the construtor (if any)

Return values
object

Returns an instance of the given class

Tags
subpackage

components.security

copyright

Copyright (c) 2010-2018, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results