You are here

public function Workspace::getStartTime in Multiversion 8

Returns the workspace creation timestamp.

Return value

int Creation timestamp of the workspace.

Overrides WorkspaceInterface::getStartTime

File

src/Entity/Workspace.php, line 191

Class

Workspace
The workspace entity class.

Namespace

Drupal\multiversion\Entity

Code

public function getStartTime() {
  return $this
    ->get('created')->value;
}