blob: e04e866905dc0214fff66109867b87fa1e2c97c7 (
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
|
<?php
namespace SMW;
/**
* Interface that describes access to a ContextResource object
*
* @note It is expected that a context object is either injected using a constructor
* or implements the ContextInjector interface
*
* @ingroup SMW
*
* @licence GNU GPL v2+
* @since 1.9
*
* @author mwjames
*/
interface ContextAware {
/**
* Returns a ContextResource object
*
* @since 1.9
*
* @return ContextResource
*/
public function withContext();
}
|