2018-03-17 12:59:53 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Sample\Awards;
|
|
|
|
|
2019-07-16 03:44:31 +08:00
|
|
|
use App\Contracts\Award;
|
2018-03-17 12:59:53 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class SampleAward
|
|
|
|
*/
|
2018-03-20 09:50:40 +08:00
|
|
|
class SampleAward extends Award
|
2018-03-17 12:59:53 +08:00
|
|
|
{
|
|
|
|
public $name = 'Sample Award';
|
2018-03-17 13:55:39 +08:00
|
|
|
|
2018-03-18 00:35:34 +08:00
|
|
|
/**
|
|
|
|
* 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
|
2019-08-27 00:32:46 +08:00
|
|
|
*
|
2018-03-18 00:35:34 +08:00
|
|
|
* @param null $params Parameters passed in from the UI
|
2019-08-27 00:32:46 +08:00
|
|
|
*
|
2018-03-18 00:35:34 +08:00
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function check($params = null): bool
|
2018-03-17 13:55:39 +08:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2018-03-17 12:59:53 +08:00
|
|
|
}
|