phpvms/modules/Sample/Awards/SampleAward.php

27 lines
547 B
PHP
Raw Normal View History

2018-03-17 12:59:53 +08:00
<?php
namespace Modules\Sample\Awards;
use App\Interfaces\Award;
2018-03-17 12:59:53 +08:00
/**
* Class SampleAward
* @package Modules\Sample\Awards
*/
class SampleAward extends Award
2018-03-17 12:59:53 +08:00
{
public $name = 'Sample Award';
/**
* This is the method that needs to be implemented.
* You have access to $this->user, which holds the current
* user the award is being checked against
* @param null $params Parameters passed in from the UI
* @return bool
*/
public function check($params = null): bool
{
return false;
}
2018-03-17 12:59:53 +08:00
}