| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace phpnotify;
- /**
- * This function load file with given name.
- *
- * @param string $name Name of the file to load.
- */
- function load(string $name): void {
- $directory = dirname(__FILE__);
- $file = $directory.'/'.$name;
- require_once($file);
- }
- /**
- * Order of that file depends on classes hierarchy.
- */
- load('response.php');
- load('fetch.php');
- load('authorization_method.php');
- load('empty_authorization.php');
- load('login_authorization.php');
- load('token_authorization.php');
- load('authorization_store.php');
- load('notifier.php');
- load('subject.php');
- load('notification_base.php');
- load('notification.php');
|