final protected function consoleSetter(
		$method = 'log',
		array $value = array()
	)
	{
		if (array_key_exists($method, $this->response)) {
			if (! is_array($this->response[$method])) {
				$this->response[$method] = [$this->response[$method]];
			}
			$this->response[$method][] = count($value) === 1 ? current($value) : $value;
		} else {
			$this->response[$method] = count($value) == 1 ? current($value) : $value;
		}
		return $this;
	}
final protected function consoleSetter(
		$method = 'log',
		array $value = array()
	)
	{
		if (array_key_exists($method, $this->response)) {
			if (! is_array($this->response[$method])) {
				$this->response[$method] = [$this->response[$method]];
			}
			$this->response[$method][] = count($value) === 1 ? current($value) : $value;
		} else {
			$this->response[$method] = count($value) == 1 ? current($value) : $value;
		}
		return $this;
	}
final protected function consoleSetter ( $ method = 'log' , array $ value = array ( ) ) { if ( array_key_exists ( $ method , $ this -> response ) ) { if ( ! is_array ( $ this -> response [ $ method ] ) ) { $ this -> response [ $ method ] = [ $ this -> response [ $ method ] ] ; } $ this -> response [ $ method ] [ ] = count ( $ value ) === 1 ? current ( $ value ) : $ value ; } else { $ this -> response [ $ method ] = count ( $ value ) == 1 ? current ( $ value ) : $ value ; } return $ this ; }
Private method for setting console values which can contain one or more
values. I.E., log could take a singe argument and then be called again
later. For console methods, set here to make it easier to call multiple
times.

@param string $method Console method to be setting
@param array  $value  Value to be setting or appending.
@return self
Private method for setting console values which can contain one or more values . I . E . log could take a singe argument and then be called again later . For console methods set here to make it easier to call multiple times .