workspaceId; case 'isLive': return $this->isLive(); case 'isOffline': return !$this->isLive(); } throw new AspectPropertyNotFoundException('Property "' . $name . '" not found in Aspect "' . __CLASS__ . '".', 1527779447); } /** * Return the workspace ID */ public function getId(): int { return $this->workspaceId; } /** * Return whether this is live workspace or in a custom offline workspace */ public function isLive(): bool { return $this->workspaceId === 0; } }