📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 11:00:11
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
phpunit
/
php-code-coverage
/
tests
/
_files
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/phpunit/php-code-coverage/tests/_files
🔄 Refresh
✏️
Editing: NamespacedBankAccount.php
Writable
<?php namespace SomeNamespace; class BankAccount { use BankAccountTrait; } trait BankAccountTrait { protected $balance = 0; public function getBalance() { return $this->balance; } protected function setBalance($balance) { if ($balance >= 0) { $this->balance = $balance; } else { throw new \RuntimeException; } } public function depositMoney($balance) { $this->setBalance($this->getBalance() + $balance); return $this->getBalance(); } public function withdrawMoney($balance) { $this->setBalance($this->getBalance() - $balance); return $this->getBalance(); } }
💾 Save Changes
❌ Cancel