-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathModuleInterface.php
More file actions
49 lines (45 loc) · 936 Bytes
/
ModuleInterface.php
File metadata and controls
49 lines (45 loc) · 936 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* This file is part of the PPI Framework.
*
* @copyright Copyright (c) 2012 Paul Dragoonis <[email protected]>
* @license http://opensource.org/licenses/mit-license.php MIT
*
* @link http://www.ppi.io
*/
namespace PPI\Framework\Module;
/**
* ModuleInterface.
*
* @author Paul Dragoonis <[email protected]>
* @author Vítor Brandão <[email protected]>
*
* @api
*/
interface ModuleInterface
{
/**
* Returns the module name.
*
* @return string The Module name
*/
public function getName();
/**
* Gets the Module namespace.
*
* @return string The Module namespace
*
* @api
*/
public function getNamespace();
/**
* Gets the Module directory path.
*
* The path should always be returned as a Unix path (with /).
*
* @return string The Module absolute path
*
* @api
*/
public function getPath();
}