PHP Class DebugKit\View\Helper\CredentialsHelper

Filter sensitive data in screen, data will be displayed on mouse click
Inheritance: extends Cake\View\Helper
Datei anzeigen Open project: cakephp/debug_kit

Public Properties

Property Type Description
$helpers array Helpers property

Public Methods

Method Description
filter ( string $in ) : string Replace credentials in url's by ***** Example mysql://username:password@localhost/my_db -> mysql://******@localhost/my_db

Method Details

filter() public method

Replace credentials in url's by ***** Example mysql://username:password@localhost/my_db -> mysql://******@localhost/my_db
public filter ( string $in ) : string
$in string variable to filter
return string

Property Details

$helpers public_oe property

Helpers property
public array $helpers
return array