function OperationData::hasAppend

Same name in other branches
  1. 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasAppend()
  2. 10 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasAppend()
  3. 11.x composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasAppend()

Checks if append path exists.

Return value

bool Returns true if prepend exists.

File

composer/Plugin/Scaffold/Operations/OperationData.php, line 134

Class

OperationData
Holds parameter data for operation objects during operation creation only.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function hasAppend() {
    return isset($this->data[self::APPEND]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.