mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
14 lines
178 B
PHP
14 lines
178 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
class Foo
|
||
|
|
{
|
||
|
|
private string $_baz;
|
||
|
|
|
||
|
|
public string $baz {
|
||
|
|
&get => $this->_baz;
|
||
|
|
set {
|
||
|
|
$this->_baz = strtoupper($value);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|