public function RemoteMapping::getAmount

Returns the amount.

Return value

int Returns an integer.

Overrides RemoteMappingInterface::getAmount

File

src/Entity/RemoteMapping.php, line 123

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getAmount() {
  return $this
    ->get('amount')->value;
}