PhpSpec\Wrapper\Subject\Caller::namedConstructorNotFound PHP Method

namedConstructorNotFound() private method

private namedConstructorNotFound ( string $method, array $arguments = [] ) : PhpSpec\Exception\Fracture\MethodNotFoundException | PhpSpec\Exception\Fracture\MethodNotVisibleException
$method string
$arguments array
return PhpSpec\Exception\Fracture\MethodNotFoundException | PhpSpec\Exception\Fracture\MethodNotVisibleException
    private function namedConstructorNotFound($method, array $arguments = array())
    {
        $className = $this->wrappedObject->getClassName();
        return $this->exceptionFactory->namedConstructorNotFound($className, $method, $arguments);
    }