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

Breadcrumb

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

function ExportAllDeclaration::setSource

Sets the export source

Parameters

Literal $source Export source:

Return value

$this

File

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

Class

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

Namespace

Peast\Syntax\Node

Code

public function setSource(Literal $source) {
    $this->source = $source;
    return $this;
}

API Navigation

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