RunTestsTrait
Description of RunTestsTrait
Tags
Table of Contents
Methods
- runTests() : array<string|int, DoorkeeperException>|null
Methods
runTests()
public
runTests([string $attribute = CheckAttribute::class ][, int $filter = ReflectionMethod::IS_PUBLIC ][, bool $throwException = true ]) : array<string|int, DoorkeeperException>|null
Parameters
- $attribute : string = CheckAttribute::class
- $filter : int = ReflectionMethod::IS_PUBLIC
- $throwException : bool = true
-
if
true
, the method throws a DoorkeeperException on errors or null otherwise. Iffalse
, method returns a (possibly empty) array of DoorkeeperExceptions.