mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 23:54:08 +01:00
29 lines
402 B
PHP
29 lines
402 B
PHP
<?php
|
|
|
|
namespace SP\Core\Plugin;
|
|
|
|
use SplObserver;
|
|
|
|
abstract class PluginBase implements SplObserver
|
|
{
|
|
/**
|
|
* @var string Tipo de plugin
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getType()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $type
|
|
*/
|
|
public function setType($type)
|
|
{
|
|
$this->type = $type;
|
|
}
|
|
} |