Storm\Core\Object\UnitOfWork::TypeMismatch PHP Method

TypeMismatch() private method

private TypeMismatch ( $ObjectName, $EntityType )
    private function TypeMismatch($ObjectName, $EntityType)
    {
        return new TypeMismatchException('The supplied %s of entity %s is part of the given domain %s', $ObjectName, $EntityType, $this->Domain->GetType());
    }