pssht  latest
SSH server library written in PHP
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 
13 
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 }
static getName()
Return the name of the algorithm.
Definition: None.php:32
$mode
Compression/decompression mode.
Definition: None.php:20