Programming Language PHP

Namespace Elabftw\Services

Class Check

Method/Function rw

Total Examples 1

1 code examples of PHP Elabftw\Services\Check::rw extracted from open source projects

Was this example useful?
0
                                                    public function testRw(): void
    {
        $this->assertEquals('read', Check::rw('read'));
        $this->assertEquals('write', Check::rw('write'));
        $this->expectException(IllegalActionException::class);
        Check::rw('blah');
    }