feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides

This commit is contained in:
Nuno Maduro
2024-08-09 00:24:24 +01:00
parent 347bcfd8a8
commit b6bf01148f
14 changed files with 196 additions and 11 deletions

View File

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Arch\ToHavePublicMethodsBesides;
class UserController
{
public function publicMethod(): string
{
return '';
}
protected function protectedMethod(): string
{
return '';
}
private function privateMethod(): string
{
return '';
}
}