You are here

public function ParameterBag::isEmpty in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Object/ParameterBag.php \Drupal\jsonrpc\Object\ParameterBag::isEmpty()

Checks if the parameter bag is empty.

Return value

bool True if the bag is empty.

File

src/Object/ParameterBag.php, line 72

Class

ParameterBag
Value class to hold multiple parameters.

Namespace

Drupal\jsonrpc\Object

Code

public function isEmpty() {
  return empty($this->parameters);
}