mirror of
https://github.com/crypto-pro-web/crypto-pro-php.git
synced 2025-01-18 11:25:50 +03:00
мусор
This commit is contained in:
parent
473cb00861
commit
0d7039868b
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Webmasterskaya\CryptoPro;
|
||||
|
||||
/**
|
||||
* @property-read $algorithm
|
||||
* @property-read $oid
|
||||
*/
|
||||
abstract class AbstractAlgorithmInfo implements AlgorithmInfoInterface
|
||||
{
|
||||
protected $algorithm;
|
||||
protected $oid;
|
||||
|
||||
public function __construct($algorithm, $oid)
|
||||
{
|
||||
$this->algorithm = $algorithm;
|
||||
$this->oid = $oid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
*
|
||||
* @return string|void
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
switch ($name)
|
||||
{
|
||||
case 'algorithm':
|
||||
case 'oid':
|
||||
return $this->{$name};
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Webmasterskaya\CryptoPro;
|
||||
|
||||
interface AlgorithmInfoInterface
|
||||
{
|
||||
public function __construct(string $algorithm, string $oid);
|
||||
}
|
Loading…
Reference in New Issue
Block a user