for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Elimuswift\Core\Updates;
use Elimuswift\Core\Update;
use Elimuswift\Core\Repositories\Contracts\RepositoryContract;
/**
* Manage application updates
*/
class UpdatesManager
{
* Update Repository
*
* @var mixed
**/
public $repository;
* Create a new instance of the UpdatesManager::class
public function __construct(RepositoryContract $repository)
$this->repository = $repository;
}
* Determin if the customer has already verified the product
* @return void
* @param string $purchaseKey
public function verifyCustomer($purchaseKey)
$this->repository->findCustomer($purchaseKey);
* Get a specific update version
* @param string $version Build version
public function getRelease($version)
$version
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.