depage-fs
Loading...
Searching...
No Matches
PublicSshKey Class Reference

Detailed Description

Definition at line 5 of file PublicSshKey.php.

Public Member Functions

 __construct ($data, $tmpDir=false)
 __destruct ()
 __toString ()
 clean ()
 file_put_contents ($filename, $data, $flags=0, $context=null)
 Hook, allows overriding of file_put_contents function.

Protected Member Functions

 createTmpFile ($tmpDir, $data)
 parse ($keyString)

Protected Attributes

 $key = null
 $path = null
 $temporary = false

Constructor & Destructor Documentation

◆ __construct()

__construct ( $data,
$tmpDir = false )

Definition at line 10 of file PublicSshKey.php.

◆ __destruct()

__destruct ( )

Definition at line 24 of file PublicSshKey.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 52 of file PublicSshKey.php.

◆ clean()

clean ( )

Definition at line 56 of file PublicSshKey.php.

◆ createTmpFile()

createTmpFile ( $tmpDir,
$data )
protected

Definition at line 29 of file PublicSshKey.php.

◆ file_put_contents()

file_put_contents ( $filename,
$data,
$flags = 0,
$context = null )

Definition at line 72 of file PublicSshKey.php.

◆ parse()

parse ( $keyString)
protected

Reimplemented in PrivateSshKey.

Definition at line 47 of file PublicSshKey.php.

Field Documentation

◆ $key

$key = null
protected

Definition at line 7 of file PublicSshKey.php.

◆ $path

$path = null
protected

Definition at line 8 of file PublicSshKey.php.

◆ $temporary

$temporary = false
protected

Definition at line 9 of file PublicSshKey.php.


The documentation for this class was generated from the following file: