You are here

public function ParameterBag::isEmpty in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x 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);
}