File: tests/sample-app/plugins/license-handler/config/set-hooks.php

Recommend this page to a friend!
  Classes of Josantonius  >  PHP License System  >  tests/sample-app/plugins/license-handler/config/set-hooks.php  >  Download  
File: tests/sample-app/plugins/license-handler/config/set-hooks.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP License System
Manage PHP applications license keys
Author: By
Last change:
Date: 2 years ago
Size: 550 bytes
 

Contents

Class file image Download
<?php
/**
 * Licensing and applications manager.
 *
 * @author Josantonius <hello@josantonius.com>
 * @copyright 2017 - 2018 (c) Josantonius - License Handler
 * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link https://github.com/eliasis-framework/license-handler.git
 * @since 1.0.0
 */
use Eliasis\Complement\Type\Plugin;

$controller = Plugin::LicenseHandler()->getOption('namespaces', 'controller');

return [
   
'hooks' => [
        [
'plugin-load', [$controller . 'Launcher', 'init'], 8, 0]
    ],
];


For more information send a message to info at phpclasses dot org.