/
var
/
www
/
vhosts
/
nabawater
/
vendor
/
chillerlan
/
php-settings-container
/
tests
/
/var/www/vhosts/nabawater/vendor/chillerlan/php-settings-container/tests
mkdir
upload
Name
Size
Mode
Actions
ContainerTest.php
3007
0644
edit
dl
rm
TestContainer.php
497
0644
edit
dl
rm
TestOptionsTrait.php
739
0644
edit
dl
rm
Edit:
/var/www/vhosts/nabawater/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php
(739B)
<?php /** * Trait TestOptionsTrait * * @created 28.08.2018 * @author smiley <smiley@chillerlan.net> * @copyright 2018 smiley * @license MIT */ namespace chillerlan\SettingsTest; use function sha1; trait TestOptionsTrait{ protected string $test1 = 'foo'; protected ?bool $test2 = null; protected string $testConstruct; protected ?string $test4 = null; protected ?string $test5 = null; protected ?string $test6 = null; protected function TestOptionsTrait():void{ $this->testConstruct = 'success'; } protected function set_test5($value):void{ $this->test5 = $value.'_test5'; } protected function get_test6():string{ return $this->test6 === null ? 'null' : sha1($this->test6); } }
Save
cmd:
run