| 1 | <?php |
||
| 28 | trait WritableTrait |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @var false|mixed |
||
| 32 | * @access protected |
||
| 33 | */ |
||
| 34 | protected $writable = false; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | public function isWritable()/*# : bool */ |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | public function setWritable($writable) |
||
| 52 | |||
| 53 | // from WritableInterface |
||
| 54 | abstract public function set(/*# string */ $key, $value); |
||
| 55 | } |
||
| 56 |