function GetterEvent::privateGetter

Getter method for $publicProperty.

Return value

string The value of privateProperty.

File

tests/modules/rules_test_event/src/Event/GetterEvent.php, line 75

Class

GetterEvent
An Event that has getter methods defined for its properties.

Namespace

Drupal\rules_test_event\Event

Code

public function privateGetter() {
    return $this->privateProperty;
}