мусор

This commit is contained in:
Artem Vasilev 2022-11-09 22:22:09 +03:00
parent 473cb00861
commit 0d7039868b
2 changed files with 0 additions and 42 deletions

View File

@ -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};
}
}
}

View File

@ -1,8 +0,0 @@
<?php
namespace Webmasterskaya\CryptoPro;
interface AlgorithmInfoInterface
{
public function __construct(string $algorithm, string $oid);
}