| 1 | <?php |
||
| 20 | class License |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The Setting object |
||
| 25 | * |
||
| 26 | * @var \JaegerApp\Settings |
||
| 27 | */ |
||
| 28 | protected $setting = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Sets the Setting object |
||
| 32 | * |
||
| 33 | * @param \JaegerApp\Settings $settings |
||
| 34 | * @return \JaegerApp\License |
||
| 35 | */ |
||
| 36 | public function setSetting(\JaegerApp\Settings $settings) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Validates a license number is valid |
||
| 44 | * |
||
| 45 | * @param string $license |
||
| 46 | * @return number |
||
| 47 | */ |
||
| 48 | public function validLicense($license) |
||
| 52 | } |