pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
None.php
1
<?php
2
3
/*
4
* This file is part of pssht.
5
*
6
* (c) François Poirotte <clicky@erebot.net>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
fpoirotte\Pssht\Compression
;
13
17
class
None
implements
\fpoirotte\Pssht\Compression\CompressionInterface
18
{
20
protected
$mode
;
21
22
public
function
__construct
(
$mode
)
23
{
24
$this->mode =
$mode
;
25
}
26
27
public
function
getMode
()
28
{
29
return
$this->mode
;
30
}
31
32
public
static
function
getName
()
33
{
34
return
'none'
;
35
}
36
37
public
function
update
($data)
38
{
39
return
$data;
40
}
41
}
fpoirotte\Pssht\Compression\None\getName
static getName()
Return the name of the algorithm.
Definition:
None.php:32
fpoirotte\Pssht\Compression\None
Definition:
None.php:17
fpoirotte\Pssht\Compression
Definition:
CompressionInterface.php:12
fpoirotte\Pssht\Compression\CompressionInterface
Definition:
CompressionInterface.php:17
fpoirotte\Pssht\Compression\None\$mode
$mode
Compression/decompression mode.
Definition:
None.php:20
fpoirotte\Pssht\Compression\None\getMode
getMode()
Definition:
None.php:27
fpoirotte\Pssht\Compression\None\__construct
__construct($mode)
Definition:
None.php:22
fpoirotte\Pssht\Compression\None\update
update($data)
Definition:
None.php:37
src
Compression
None.php
Generated on Tue May 9 2017 12:09:55 for pssht by
1.8.11