| 1 | <?php namespace Comodojo\Cache\Traits; |
||
| 24 | trait NamespaceTrait { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Determine the current cache scope (default: GLOBAL) |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $namespace = "GLOBAL"; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | 279 | public function getNamespace() { |
|
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | 28 | public function setNamespace($namespace=null) { |
|
| 64 | |||
| 65 | } |
||
| 66 |