Ptondereau\PackMe\Validators\Checks\GoodAuthor::verify PHP Method

verify() public method

Make a verification.
public verify ( Package $package ) : mixed | void
$package Ptondereau\PackMe\Package
return mixed | void
    public function verify(Package $package)
    {
        if (null === $package->getAuthor() || empty($package->getAuthor())) {
            throw new ValidatorException('Author is not defined!');
        }
    }
GoodAuthor