phpvms/modules/Sample/Awards/SampleAward.php

28 lines
526 B
PHP
Raw Normal View History

2018-03-17 12:59:53 +08:00
<?php
namespace Modules\Sample\Awards;
use App\Contracts\Award;
2018-03-17 12:59:53 +08:00
/**
* Class SampleAward
*/
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
}