From 86452ae52d138edc4ccb08a73b16f721f9e3007d Mon Sep 17 00:00:00 2001 From: Johannes Gmelin Date: Sun, 5 May 2024 11:16:35 +0200 Subject: [PATCH] Extend README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a6aeae8..5f494b3 100644 --- a/README.md +++ b/README.md @@ -302,6 +302,16 @@ public function has_expired(): bool { } ``` +#### Proper usage of the defined functions + +You can now call the defined functions to do some checks. + +```php +if ( $this->is_registered() && ! $this->has_expired() ) { + // Integrate your main classes or load stuff which should be available if the license is registered and has not expired +} +``` + ### Test if everything works After following all the above steps, your client should be ready to use! You can now test the client by creating a new