1 | <?php namespace Comodojo\Cache\Traits; |
||
22 | trait NamespaceTrait { |
||
23 | |||
24 | /** |
||
25 | * Determine the current cache scope (default: GLOBAL) |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $namespace = "GLOBAL"; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | 290 | public function getNamespace() { |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 28 | public function setNamespace($namespace = null) { |
|
62 | |||
63 | } |
||
64 |