Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: namespace PHPUnit\Framework\MockObject; Chris@14: Chris@14: /** Chris@14: * Interface for invocations. Chris@14: */ Chris@14: interface Invocation Chris@14: { Chris@14: /** Chris@14: * @return mixed Mocked return value. Chris@14: */ Chris@14: public function generateReturnValue(); Chris@14: Chris@14: public function getClassName(): string; Chris@14: Chris@14: public function getMethodName(): string; Chris@14: Chris@14: public function getParameters(): array; Chris@14: Chris@14: public function getReturnType(): string; Chris@14: Chris@14: public function isReturnTypeNullable(): bool; Chris@14: }