| 1 | <?php |
||
| 5 | abstract class AbstractAttribute |
||
| 6 | { |
||
| 7 | protected $object; |
||
| 8 | protected $storage; |
||
| 9 | protected $path; |
||
| 10 | protected $default; |
||
| 11 | |||
| 12 | protected function __construct($object, &$storage, $path) |
||
| 18 | |||
| 19 | abstract protected function get(); |
||
| 20 | |||
| 21 | abstract protected function set($arguments); |
||
| 22 | |||
| 23 | public function handle($arguments) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param \Tacone\Bees\Field\Field $object |
||
| 38 | * @param $storage |
||
| 39 | * @param string $path |
||
| 40 | * |
||
| 41 | * @return static |
||
| 42 | */ |
||
| 43 | public static function make($object, &$storage, $path, $default = null) |
||
| 52 | |||
| 53 | public function defaults($value = null) |
||
| 64 | |||
| 65 | public function reset() |
||
| 71 | } |
||
| 72 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.