$errors */ public static function forPath(string $path, array $errors): self { return new self(sprintf( 'Invalid theme manifest at [%s]: %s', rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'theme.json', implode(' ', $errors), )); } }