public function __call($method, $params) { $params = count($params) ? $params : [$method]; $params = array_merge([$method], $params); call_user_func_array([$this, 'attribute'], $params); return $this; }