Programming Language PHP

Namespace Elabftw\Services

Class Check

Method/Function target

Total Examples 2

2 code examples of PHP Elabftw\Services\Check::target extracted from open source projects

Was this example useful?
0
                                                    public function testInvalidTarget(): void
    {
        $this->expectException(IllegalActionException::class);
        Check::target('Grogu');
    }
                                            
Was this example useful?
0
                                                    public function getTarget(): string
    {
        return Check::target($this->target);
    }