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

Breadcrumb

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

function ExportSpecifier::setExported

Sets the exported identifier

Parameters

Identifier|StringLiteral $exported Exported identifier:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ExportSpecifier.php, line 53

Class

ExportSpecifier
A node that represents a specifier in an export declaration. For example "{a}" in: export {a}

Namespace

Peast\Syntax\Node

Code

public function setExported($exported) {
    $this->assertType($exported, array(
        "Identifier",
        "StringLiteral",
    ));
    $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