| 1 | <?php |
||
| 11 | class UpdatesManager |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Update Repository. |
||
| 15 | * |
||
| 16 | * @var mixed |
||
| 17 | **/ |
||
| 18 | public $repository; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a new instance of the UpdatesManager::class. |
||
| 22 | * |
||
| 23 | * @param RepositoryContract $repository description |
||
| 24 | **/ |
||
| 25 | public function __construct(RepositoryContract $repository) |
||
| 29 | |||
| 30 | //end __construct() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Determin if the customer has already verified the product. |
||
| 34 | * |
||
| 35 | * @param string $purchaseKey |
||
| 36 | **/ |
||
| 37 | public function verifyCustomer($purchaseKey) |
||
| 41 | |||
| 42 | //end verifyCustomer() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get a specific update version. |
||
| 46 | * |
||
| 47 | * @param string $version Build version |
||
| 48 | **/ |
||
| 49 | public function getRelease($version) |
||
| 52 | |||
| 53 | //end getRelease() |
||
| 54 | }//end class |
||
| 55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.