phpvms/modules/Sample/Awards/SampleAward.php
Nabeel S bbec276da8
#355 Calculate distance button (#366)
* #355 Calculate distance button in add/edit Flight page

* Styling

* Move add/edit flight logic out of controller and into service layer

* Styling

* Formatting

* Run styleci against modules dir

* Styleci config

* Style fixes in /modules
2019-08-26 12:32:46 -04:00

28 lines
526 B
PHP

<?php
namespace Modules\Sample\Awards;
use App\Contracts\Award;
/**
* Class SampleAward
*/
class SampleAward extends Award
{
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;
}
}