public function JobItem::getFileCount

File counts of this job item.

Return value

int The file count of this job item.

Overrides JobItemInterface::getFileCount

File

src/Entity/JobItem.php, line 471

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getFileCount() {
  return (int) $this
    ->get('file_count')->value;
}