summaryrefslogtreecommitdiff
path: root/app/Core/PluginBase.php
blob: 9c3d6e321090430bdf9408c60338902d7369e949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

namespace Core;

/**
 * Plugin Base class
 *
 * @package  core
 * @author   Frederic Guillot
 */
abstract class PluginBase extends Base
{
    /**
     * Method called for each request
     *
     * @abstract
     * @access public
     */
    abstract public function initialize();

    /**
     * Returns all classes that needs to be stored in the DI container
     *
     * @access public
     * @return array
     */
    public function getClasses()
    {
        return array();
    }
}