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

Breadcrumb

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

function TraitUseAdaptation::makeProtected

Sets adapted method protected.

Return value

$this The builder instance (for fluid interface)

File

vendor/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php, line 72

Class

TraitUseAdaptation

Namespace

PhpParser\Builder

Code

public function makeProtected() {
    $this->setModifier(Modifiers::PROTECTED);
    return $this;
}

API Navigation

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