Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExportAllDeclaration.php

function ExportAllDeclaration::setExported

Sets the exported name W

Parameters

Identifier|StringLiteral $exported Exported name:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ExportAllDeclaration.php, line 84

Class

ExportAllDeclaration
A node that represents an "export all" declaration. For example: export * from "test"

Namespace

Peast\Syntax\Node

Code

public function setExported($exported) {
    $this->assertType($exported, array(
        "Identifier",
        "StringLiteral",
    ), true);
    $this->exported = $exported;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal